Not existant files passed to php backend

Rob Schultz lists at ruby-forum.com
Wed Aug 20 22:26:55 MSD 2008


Igor Sysoev wrote:
> On Wed, Aug 20, 2008 at 07:28:58PM +0300, Reinis Rozitis wrote:
> 
>> if there is such in config and also on disk?
> Yes, "if" (rewrite module) runs before index module, therefore "if" 
> tests "/".
> But if you place "if" inside "location *~ \.php$" (as it was already
> suggested), then "if" will test already internally redirected 
> "/index.php".

Hi Igor, just curious i am not a regex expert or anything. What is the 
difference between the one you have listed here "location *~ \.php$" and 
then one i am currently using "location ~ .*\.php$"?
Thanks
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list