W3C home > Mailing lists > Public > www-talk@w3.org > November to December 1995

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

From: David Robinson <drtr1@cus.cam.ac.uk>
Date: Mon, 4 Dec 95 16:09 GMT
Message-Id: <m0tMdS8-000DJLC@ursa.cus.cam.ac.uk>
To: dmk@allegra.att.com
Cc: drtr1@cus.cam.ac.uk, www-talk@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:18 GMT