You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <CO...@PROCESS.COM> on 1997/11/13 22:08:00 UTC

RE: mod_cgi/1412: Apache rewrites Location: and mangles # for intra-document links (fwd)

>From the fingers of Marc Slemko flowed the following:
>
>Hmm.  There is something odd going on here.
>
>Whenever I try a location like:
>
>	Location: /foo/file.html#bar
>
>from a CGI, I get Apache complaining about file not found.  That shouldn't
>happen.  What Apache needs to do is send the redirect to the client
>because it has a # in it.

    Location: requires an absoluteURI, so your example above is bogus in
    any event.

    #ken    P-)}

RE: mod_cgi/1412: Apache rewrites Location: and mangles # for intra-document links (fwd)

Posted by Marc Slemko <ma...@worldgate.com>.
On Thu, 13 Nov 1997, Rodent of Unusual Size wrote:

> >From the fingers of Marc Slemko flowed the following:
> >
> >Hmm.  There is something odd going on here.
> >
> >Whenever I try a location like:
> >
> >	Location: /foo/file.html#bar
> >
> >from a CGI, I get Apache complaining about file not found.  That shouldn't
> >happen.  What Apache needs to do is send the redirect to the client
> >because it has a # in it.
> 
>     Location: requires an absoluteURI, so your example above is bogus in
>     any event.

No.  I am not talking about the HTTP header, I am talking about the CGI
header.