[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] .htaccess



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