Problems with fastcgi php migration

Ian M. Evans ianevans at
Tue Mar 11 01:02:31 MSK 2008

Igor Sysoev wrote:
> location ~ ^/(galleries|poll|news)/ {

It's one of those days...that didn't work either.

> Second, what's about galleries/etc root ?

I have the root set to the same root as the other locations. Most of the 
extensionless php files are in the site's root directory, while others 
can be found in multiple subdirectories, e.g.

galleries is off the main like while the file 
photos is run from, as an example:

Back in the time when I tried lighttpd they had a 
config so you said something like  "/galleries" => ".php", "/photos" => 
".php", etc.

More information about the nginx mailing list