Welcome! Log In Create A New Profile


mod_rewrite and .htaccess problem bypass solution needed

June 14, 2010 02:55AM

I have set Nginx to server static files before apache. But when there is a Drupal site or any custom made site that useres .htaccess mod_rewrites to generate an image-file, logically the files are not found, because the URL doesn't exist.

My question is:
Is there a way to tell Nginx to try these files, and if no file found, try to get it from apache?
If yes, would this give a substantial overhead compared to only using apache and no Nginx frontend?
If no, then the only solution is to always modify my nginx site settings so that the builtin rewrite would be handled (by Nginx)? This solution of course is not too elegant, when you think of several-hundred sites that are coming from an only-apache based hosting...

Thanks in advance!

Subject Author Posted

mod_rewrite and .htaccess problem bypass solution needed

dandadude June 14, 2010 02:55AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready