Can fastcgi_index be used with multiple filenames?
Igor Sysoev
is at rambler-co.ru
Sun Mar 9 00:54:56 MSK 2008
On Sat, Mar 08, 2008 at 04:44:09PM -0500, Ian M. Evans wrote:
> Igor Sysoev wrote:
> >I wander how can it be with settings:
> >
> >fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
> >fastcgi_param SCRIPT_NAME $fastcgi_script_name;
> >fastcgi_param REQUEST_URI $request_uri;
> >fastcgi_param DOCUMENT_ROOT $document_root;
> >fastcgi_param PATH_INFO $fastcgi_script_name;
> >
> >and $fastcgi_script_name == /test.php/123/1 ?
>
> Could it be the cgi.fix-pathinfo = 1 in the php.ini?
May be, I did not look too much in php sources.
If it's so it really simplifies migration of PHP scripts using PATH_INFO
from Apache to FastCGI.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list