[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] .htaccess - directory browsing options
- Subject: RE: [cobalt-users] .htaccess - directory browsing options
- From: "Paul Shuttleworth" <paul@xxxxxxxxxxxxxx>
- Date: Fri Sep 26 16:15:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Dan Kriwitsky
> Sent: 26 September 2003 19:17
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: RE: [cobalt-users] .htaccess - directory browsing options
>
>
> >
> > According to the Apache book the Default is actually
> > Allowoverrides All and apache looks for a .htaccess file by
> > default (this filename is settable in
> > srm.conf) to tun it off it is AllowOverrides None.
> >
> > Even adding
> >
> > <Directory /homes/sites/sitex/web>
> > AllowOverides All
> > </Directory>
> >
> > In the sitex virtual host section of httpd.conf makes no
> > difference. Httpd restarts ok, but the internal server error
> > still exists as soon as I put the .htaccess file in the /web
> > directory.
>
> You need to edit, IIRC, access.conf.
>
Many thanks Dan!
That did the trick, I put the above in the access.conf file and restarted
httpd and bingo directory browsing is now off for that virtual host
container. I don't quite know why it is spread around srm.conf, httpd.conf
and access.conf! but then you live and learn!
Thanks again.
Paul.