[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] .htaccess
- Subject: Re: [cobalt-developers] .htaccess
- From: "John P. Looney" <valen@xxxxxxxxxx>
- Date: Wed Aug 14 03:43:01 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
On Wed, Aug 14, 2002 at 11:37:49AM +0100, Alec Woolford mentioned:
> What alternatives are there for protecting directories other than a
> .htaccess file? When using .htaccess files, loading times of files within
> this directory are reduced markedly.
httpd.conf access control:
<Directory /var/www/>
AuthType Basic
AuthUserFile /etc/htpasswd
AuthGroupFile /etc/htgroup
AuthName "Enter a password"
require group admin
</Directory>
Be wary of using this mechanism on boxes whose httpd.conf files get over
written though.
John