httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: mod_cgi/1412: Apache rewrites Location: and mangles # for intra-document links (fwd)
Date Sun, 16 Nov 1997 20:29:02 GMT
On Sun, 16 Nov 1997, Marc Slemko wrote:

> On Sun, 16 Nov 1997, Rob Hartill wrote:
> 
> > On Thu, 13 Nov 1997, Marc Slemko wrote:
> > 
> > > Hmm.  There is something odd going on here.
> > > 
> > > Whenever I try a location like:
> > > 
> > > 	Location: /foo/file.html#bar
> > 
> > that makes no sense. The '#bar' doesn't belong on an internal redirect.
> 
> http://hoohoo.ncsa.uiuc.edu/cgi/out.html :
> 
>      * Location
>        This is used to specify to the server that you are returning a
>        reference to a document rather than an actual document.
>        If the argument to this is a URL, the server will issue a redirect
>        to the client.                                                   
>        If the argument to this is a virtual path, the server will      
>        retrieve the document specified as if the client had requested
>        that document originally. ? directives will work in here, but #
>        directives must be redirected back to the client.              
> 
> doesn't that imply that the server should send a redirect for paths
> with '#' in?

it does imply that, but we didn't write it :-)

it's stupid to have to look for "#"s when the CGI should just get off
it's arse and set the full url.

--
Rob Hartill                              Internet Movie Database (Ltd)
http://www.moviedatabase.com/   .. a site for sore eyes.


Mime
View raw message