Problems with fastcgi php migration

Ian M. Evans ianevans at
Thu Mar 13 01:10:14 MSK 2008


Turning cgi.fix-pathinfo back on appears to fix almost everything.

So a 99% cheer!

It fixes everything where the extensionless file is immediately in the 
site's root, e.g.

It still gives the octet/stream if the file is in another directory. 
e.g. the script file "photos" can be in locations like:

So some of the files can be several directories deep.

So, I imagine there's just one final change to the location regex and 
we'll be 100% nginx.

How do I change...

location ~ ^/(testgalleries|galleries|poll|news)(/|$) not care where the file is found?

Many thanks again.

More information about the nginx mailing list