Can fastcgi_index be used with multiple filenames?

Ian M. Evans ianevans at digitalhit.com
Sun Mar 9 00:18:29 MSK 2008


Igor Sysoev wrote:
> It's surprise for me that PHP sees
> 
> SCRIPT_FILENAME    /usr/local/apache/htdocs/galleries/123/1
> SCRIPT_NAME        /galleries/123/1
> PATH_INFO          /galleries/123/1
> 
> and understands that it needs to look script in /galleries, but not
> in /galleries/123/1.

My PATH_INFO is just the text after the script. Here's a grab from 
phpinfo():

REQUEST_URI	/test.php/123/1

SCRIPT_FILENAME	/usr/local/apache/htdocs/test.php
SCRIPT_NAME	/test.php
PATH_INFO	/123/1


That's how it's always been for me.





More information about the nginx mailing list