7 messages in ru.sysoev.nginxRe: ForceType directive in nginx fast...
FromSent OnAttachments
PaulFeb 22, 2007 8:22 am 
Igor SysoevFeb 22, 2007 9:37 am 
PaulFeb 22, 2007 9:56 am 
Igor SysoevFeb 22, 2007 10:03 am 
PaulFeb 22, 2007 10:09 am 
Igor SysoevFeb 22, 2007 10:19 am 
PaulFeb 22, 2007 10:35 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: ForceType directive in nginx fastcgi?Actions...
From:Paul (plin@public.gmane.org)
Date:Feb 22, 2007 10:35:47 am
List:ru.sysoev.nginx

Setting PATH_INFO is more complicated. So you need something like:

location /search { set $path_info "";

if ($uri ~ "^/search(.+)") { set $path_info $1; }

fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME /root/path/search.php; fastcgi_param PATH_INFO $path_info; include fastcgi_params; }

Yes! That works after I recompiled PHP without path-info-check, and without discard-path support.

Thanks so much! Have a great vacation!