[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 10:00:00 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 Bruce Timberlake
> Sent: 26 September 2003 16:13
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] .htaccess - directory browsing options
>
>
> > I am trying to stop directory browsing for a single client on a RAQ4r.
> > I have created a .htaccess file with the following contents
> >
> > #Access file
> > Options -Indexes
> >
> > Whenever I try and put this in the /web directory I am getting
> an internal
> > server error.
>
> You have to put AllowOverrides On (or something like that) in httpd.conf
> within the virtual site container. By default, the RaQ is set up to
> ignore/disallow .htaccess files which change settings.
Thanks Bruce
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.
I would like to try and use the .htaccess method so changes can be made by
others and httpd does not have to restarted each time.
I dont know what is going on, has antone else got this working ?
Cheers
Paul.