httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: 301 msg on directory reference
Date Tue, 27 May 1997 05:58:45 GMT
On Tue, 27 May 1997, Chuck Murcko wrote:

> Brian Behlendorf wrote:
> > 
> > On Tue, 27 May 1997, Chuck Murcko wrote:
> > > Should I be getting a 301 on a reference like
> > >
> > > <a href="/info">
> > >
> > > ?? Adding a trailing / suppresses the 301 and goes directly to the
> > > referenced directory's index. I ask because the behavior has changed
> > > since 1.2b10.
> > 
> > Uh, yes, otherwise the browser thinks the URL to base relative references from
> > is "/info", so a link to "foo.html" would go to "/foo.html" instead of
> > "/info/foo.html".  Or am I misunderstanding your question?  Hopefully this
> > is the same behavior Apache's always had...
> > 
> No, I don't think I explained things clearly. Even without the leading
> /, if I have a reference to a directory only (without a trailing /), I
> get a 301 now, where in 1.2b10 and earlier I didn't.

I'm not sure I follow...

Perhaps show a telnet to a pre and/or post server that shows the change?


Mime
View raw message