Apache2 .htaccess - Unable To Get Password Prompt.
I am unable to get this blasted apache2 to prompt for a password while placing a .htaccess file in the directory i browse to.
I used htpasswd2 -c /home/someuser/password user to make the password file.
then edited httpd.conf
old:
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
new:
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride AuthConfig
Order deny,allow
Deny from all
</Directory>
then created the .htaccess file
AuthType Basic
AuthName "Restricted Files"
AuthUserFile /home/someuser/password
Require user someuser
Can anyone help?
suse 9.1 (ftp install)
|