- From: David Robinson <drtr1@cus.cam.ac.uk>
- Date: Mon, 4 Dec 95 16:09 GMT
- 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 UTC