[ale] htaccess files?
Robert L. Harris
Robert.L.Harris at rdlg.net
Sun Apr 6 18:18:31 EDT 2003
Ok, I've read the apache.org doc on setting up a .htaccess file for a
directory. I've created my file and put a <Location> section in my
apache2.conf file.
{0}:cgi-bin/homeaut>cat .htaccess
AuthType Basic
AuthName "Password Required"
AuthUserFile /var/www/passwords/password.file
#AuthGroupFile /var/www/passwords/group.file
Require user foo bar
nomad at wally
{0}:cgi-bin/homeaut>ls -la .htaccess
-rw-r--r-- 1 root sys 160 Apr 6 17:25 .htaccess
In my apache2.conf:
<Location /cgi-bin/homeaut>
AllowOverride AuthConfig
</Location>
When I try to load http://site/cgi-bin/homeaut/index.cgi though it loads
right up without asking for authorization.
Anyone got a hint?
Robert
:wq!
---------------------------------------------------------------------------
Robert L. Harris | PGP Key ID: E344DA3B
@ x-hkp://pgp.mit.edu
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
Diagnosis: witzelsucht
IPv6 = robert at ipv6.rdlg.net http://ipv6.rdlg.net
IPv4 = robert at mail.rdlg.net http://www.rdlg.net
PGP signature
More information about the Ale
mailing list