Problems with fastcgi php migration
Ian M. Evans
ianevans at digitalhit.com
Mon Mar 10 21:04:23 MSK 2008
Igor Sysoev wrote:
> Yes,
>
> location /galleries/ {
> fastcgi stuff
> }
>
> or you may use single regex:
>
> location ^/(galleries|poll|news)/ {
> fastcgi stuff
> }
Unfortunately, I tried both formats and it tosses a 404 when I try and
go to one of the extensionless files.
I'm assuming this is the order:
location / {
...
}
location ~ \.(shtml|php)$ {
...fastcgi_pass stuff...
}
location ^/(galleries|poll|news/ {
...fastcgi_pass stuff...
}
More information about the nginx
mailing list