Weird timeouts, not sure if I've set the right threshholds

mike mike503 at gmail.com
Thu May 1 09:37:23 MSD 2008


On 4/30/08, Igor Sysoev <is at rambler-co.ru> wrote:
> On Wed, Apr 30, 2008 at 09:37:09PM -0700, mike wrote:
>
> >     location ~ .php {
>
> BTW, this regex should be:
>
>      location ~ \.php$ {

I originally had that. The problem is some of my apps do a rewrite from

foo.com/bar/baz -> foo.com/index.php/bar/baz

In which case, FastCGI won't be executed because php$ is not matched.
I had to remove the restriction on it ending with PHP for that. (Yes,
nowadays I know better, but I can't change those apps right now)

I could at least add in that \ before the period though, I suppose.





More information about the nginx mailing list