Ask About Framework-Nginx
Igor Clark
igor at pokelondon.com
Wed Jan 9 14:27:06 MSK 2008
Hi Igor,
On 27 Dec 2007, at 07:25, Igor Sysoev wrote:
> location ~ \.php($|/) {
>
> set $script $uri;
> set $path_info "";
>
> if ($uri ~ "^(.+\.php)(/.+)") {
> set $script $1;
> set $path_info $2;
> }
>
> fastcgi_pass 127.0.0.1:9000;
>
> fastcgi_param SCRIPT_FILENAME /data/labdetiksport/site/
> sport$script;
> fastcgi_param PATH_INFO $path_info;
We find that PATH_INFO becomes ORIG_PATH_INFO when read from the
environment by PHP.
Is there any way to keep it as PATH_INFO, so as to keep the PHP
software compatible with Apache?
Thanks very much,
Igor
--
Igor Clark // POKE // 10 Redchurch Street // E2 7DD // +44 (0)20 7749
5355 // www.pokelondon.com
More information about the nginx
mailing list