Add new comment
Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
|
hi, i agree that by default that the .htaccess file didn't work on Debian Sarge. Instead i just copied what was in the file to the main configuration (apache2.conf) and enclosed it in a < Directory > container
e.g.
< Directory /var/www/www.example.com/web/monitoring >
AuthType Basic
AuthName "Password Required"
AuthUserFile /var/www/www.example.com/.htpasswd
limit GET PUT POST
require valid-user
< /limit >
< /Directory >
and then I follwed the remaining steps to make the .htpasswd file and it worked perfectly!
Thanks for the great Howto!
Reply |





Recent comments
7 hours 31 min ago
13 hours 19 min ago
15 hours 10 min ago
16 hours 55 min ago
20 hours 45 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 7 hours ago
1 day 12 hours ago
1 day 17 hours ago