htaccess Rewrites Are Not Working Alan Ogden created this on 25 Jul, 2012 | Categories: Common Issues
htaccess Rewrites Are Not Working
If you are doing rewrites on static files such as .html or .jpg for example if you're rewriting php as .html then you may find that your .htaccess rules are not working.
This is due to the performance reverse proxy (Nginx) sat in front of the Apache web server. Whilst it makes static file serving much faster, it does not obey rewrites in complex situations.
The only option is to disable the performance proxy in the control panel so that all requests are passed to Apache. The change is instant.
See attached screenshot in youraccount > domains > domaininquestion > performance.