Problems with fastcgi php migration

Denis F. Latypoff denis at
Thu Mar 13 15:43:44 MSK 2008

Hello Ian,

Thursday, March 13, 2008, 6:00:43 PM, you wrote:

> So 99% success. The final, final hurdle as I mentioned in my 9:14PM 
> Eastern email is that the location regex works only if the extensionless 
> file is in the root, i.e.

- location ~ ^/(testgalleries|galleries|poll|news|photos)(/|$) {
+ location ~ /(testgalleries|galleries|poll|news|photos)(/|$) {

> However, the file photos can appear anywhere like:

> So the regex just needs one final tweak to allow it to find an 
> extensionless file no matter if it's in root or any number of 
> subdirectories deep. I read several regex tutorials last night but my 
> brain goes on vacation with regex.

> So we're 99.9999% there. Thanks again.

Best regards,
 Denis                            mailto:denis at

More information about the nginx mailing list