BugTraq
Root Directory Listing on RH default apache Oct 27 2003 12:38PM
tfm tfm org (1 replies)
Re: Root Directory Listing on RH default apache Oct 28 2003 08:40AM
Stephen Samuel (samuel bcgreen com) (1 replies)
Re: Root Directory Listing on RH default apache Nov 02 2003 08:36AM
M.Hirsch (M Hirsch gmx de)
Am Dienstag, 28. Oktober 2003 09:40 schrieb Stephen Samuel:

> You can fix it by changing the line to:
> <LocationMatch "^/*$>

great idea... oops:
GET /./ HTTP/1.0

> If you're worried
> about people seeing your directories, you should turn off the feature
> entirely.
This sounds much better. Always choose a "deny everything that is not
explicitly allowed" policy.

M.

> You can fix it by changing the line to:
> <LocationMatch "^/*$>
>
> On the other hand, if youc an guess the name of any directory without
> it's own index.html file, you'll still get a listing. If you're worried
> about people seeing your directories, you should turn off the feature
> entirely.
>
> tfm (at) tfm (dot) org [email concealed] wrote:
> ....
>
> > ==============================================
> >
> >>From /etc/httpd/conf/httpd.conf
> >
> > #
> > # Disable autoindex for the root directory, and present a
> > # default Welcome page if no other index page is present.
> > #
> > <LocationMatch "^/$>
> > Options -Indexes
> > ErrorDocument 403 /error/noindex.html
> > </LocationMatch>
> > ==============================================
>
> ....
>
> > It's true if you made a request like
> >
> > GET / HTTP/1.0
> >
> > Not true if you type:
> >
> > GET // HTTP/1.0

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus