hey guys, would really appreciate if you could help me out.
on my web server, i have created a directory, to which i want password protection.
for that i have created a .htaccess file and saved it in that directory.
Also, i have created a .htpasswd file and saved it in another directory.
I have set authconfig to all in the apache config file.
below are the details of my above file, please let me know where im going wrong,
.htpasswd file contains, this line, root:7rF2c3QN5gWeh
.htacces contains the following,
AuthUserFile /var/.htpasswd
AuthType Basic
AuthName "My Secret Folder"
Require valid-user
apache2.conf contains,
<Directory "/usr/share/apache2/error">
AllowOverride All
# Options IncludesNoExec
# AddOutputFilter Includes html
# AddHandler type-map var
# Order allow,deny
# Allow from all
# LanguagePriority en cs de es fr it nl sv pt-br ro
# ForceLanguagePriority Prefer Fallback
</Directory>
im working on, Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4
the prob what i think is the path to the htpasswd file. so i tried many different combination, but no success yet.
Thanks.
Amish.