Fixing apache rules