httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: over-aggressive redirection in mod_dir
Date Tue, 27 Feb 2001 13:51:25 GMT
On Tue, Feb 27, 2001 at 12:33:25PM +0000, James A. Sutherland wrote:
> On Tue, 27 Feb 2001, Rodent of Unusual Size wrote:
> > Dale Ghent wrote:
> > >
> > > Correct or not, they are equivalent.
> >
> > No, they are not.
> 
> Indeed - and in another way not yet mentioned...
> 
> Think about relative links. If I request "/foo/help.html", and then click
> on a link to "rtfm.html" on that page, I am requesting "/foo/rtfm.html".
> 
> Now I'll try "/foo/", and do the same. Again, I'm requesting
> "/foo/rtfm.html". OK?
> 
> Now think about "/foo" - logically, clicking on "rtfm.html" on THAT URL's
> HTML would be a request for "/rtfm.html". Oops.

We aren't talking about GETs. What you state is correct, but only with
respect to a GET.

Things like PROPFIND and OPTIONS don't have the issue you describe. The
current CVS code only does the redirect for the GET and HEAD methods.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message