Welcome! Log In Create A New Profile

Advanced

Re: passing data to CGI scripts via PATH_INFO

Valentin V. Bartenev
May 22, 2014 02:34PM
On Thursday 22 May 2014 16:26:54 Phil Knight wrote:
> Hi
>
> We are having an issue passing data to CGI scripts via PATH_INFO
> environment variable.
>
> for example:-
>
> http://domain.com/cgi-bin/script.cgi/=
>
> On various apache servers this works fine and the PATH_INFO variable
> will contain "/=", on our nginx server we are getting a 403 forbidden
> error. We are using fcgiwrap [1] for running CGI and .cgi scripts are
> executing.
>
> Could this be an issue with nginx configuration?
[..]

Most likely this is an issue with the configuration.

Actually nginx knows nothing about CGI and it's environment variables
(including PATH_INFO), so you are free to set it any value you think
reasonable.

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

passing data to CGI scripts via PATH_INFO

Phil Knight May 22, 2014 11:28AM

Re: passing data to CGI scripts via PATH_INFO

Valentin V. Bartenev May 22, 2014 02:34PM

Re: passing data to CGI scripts via PATH_INFO

Lyle May 22, 2014 05:16PM

Re: passing data to CGI scripts via PATH_INFO

Valentin V. Bartenev May 22, 2014 05:54PM

Re: passing data to CGI scripts via PATH_INFO

Lyle May 23, 2014 05:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 205
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready