Re: what's a CGI to do?...

Dave Kristol wrote:
> > Yes. That is what servers currently do on internal redirection. However,
> > some servers also pass the CGI variables for the original request prefixed
> > by REDIRECT_. e.g. Client requests http://foo.com/script?args
> > The server (perhaps because of script being a CGI script returning a
> > Location: /bar header) internally redirects this to the CGI script
> > http://foo.com/bar
> > then this script gets the environment variables
> > SCRIPT_NAME=/bar
> > QUERY_STRING=""
> > REDIRECT_SCRIPT_NAME=/script
> > REDIRECT_QUERY_STRING=args
>
>Interesting.  What server does that?

Apache, for one. And maybe recent versions of NCSA.

 David Robinson.

Received on Monday, 4 December 1995 11:14:24 UTC