PATH_INFO

Dave Dash dd at davedash.com
Wed Jan 23 19:31:27 MSK 2008


Anibal,

I am using a FastCGI server that nginx calls.  Right now (through  
regexp) it takes the URL and figures out what part is the script  
(blah.php) and what's the pathinfo (/q/string as in http://nginx/ 
blah.php/q/string).

But I need to decode the PATH_INFO before I pass it as a fast_Cgi  
param.  is their a way to do that?

On Jan 24, 2008, at 7:25 AM, Aníbal Rojas wrote:

> Dave,
>
>     There is no support for CGI in Nginx. You have to FastCGI or  
> HTTP (proxy)
>
> --
> Aníbal Rojas
> http://hasmanydevelopers.com
> http://rubycorner.com
> http://anibal.rojas.com
>
> On Jan 24, 2008 2:40 AM, Dave Dash <dd at davedash.com> wrote:
>> PATH_INFO is supposed to be decoded by the server and then passed to
>> the CGI application.
>>
>> How can I do that from nginx.  My PATH_INFO never gets decoded and it
>> throws off my CGI scripts.
>>
>> best,
>>
>> dd
>>
>

Dave Dash
Eat smarter... www.reviewsby.us



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080123/0e629f22/attachment.html>


More information about the nginx mailing list