php_info - fastcgi_split_path_info - Not does not work

Francis Daly francis at
Fri Oct 21 13:14:52 UTC 2011

On Fri, Oct 21, 2011 at 08:12:41AM -0400, edisoti wrote:

Hi there,

> I am having trouble setting the PATH_INFO
> I want accessing thus:

The "location" here is /test.php/images/test/000001

>         	location /nginx_status {

It doesn't match that one.

>         	location ~ ^.+\.php$ {

It doesn't match that one.

So fastcgi_split_path_info is not used.

As a short-term test, to confirm that the directives act as you expect,
change this location definition to

	location ~ php

Then when you are happy that you understand what everything is doing,
change it to something that is right for your environment.

(Perhaps some variation on "\.php($|/)" will be right for you; or perhaps
nesting it inside a non-regex location.)

Good luck,

Francis Daly        francis at

More information about the nginx mailing list