httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Schorer <ascho...@warpedlight.com>
Subject Re: [2.0.36] Forbidding directory index
Date Tue, 28 May 2002 18:11:25 GMT
Wow, I am a _complete_ idiot. That's happened to me enough times that 
I should've noticed it immediately :(

Thanks J :D


On Tue, 28 May 2002, Joshua Slive wrote:

> 
> On Tue, 28 May 2002, Anthony Schorer wrote:
> >
> > Now this works fine if a request is made to http://server/foo/bar/, but if
> > a request is made to http://server/foo/bar (note: no trailing slash, thus
> > invoking mod_dir) I'm able to get the index.
> 
> Take a careful look at the URL bar after you enter http://server/foo/bar.
> You should notice that the URL changes because mod_dir sends a redirect to
> http://somehost/foo/bar/ (note the trailing slash) where the value of
> somehost is determined by the ServerName and UseCanonicalName directives.
> Most likely, you have a slightly different configuration for "somehost"
> than you do for "server".
> 
> Joshua.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

-- 
/*-------------
 Anthony Schorer

 aschorer@warpedlight.com
 http://www.warpedlight.com
 -------------*/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message