Password Protection is not working for Apache
Posted: Sat Jan 12, 2013 1:17 am
I've done this a million times on other debian servers, but can't seem to get it to work on the pi. Any thoughts?
/var/www/.htaccess
/var/www/.htpasswd
/var/www/.htaccess
Code: Select all
Access-Control-Allow-Origin: *
AuthUserFile "/var/www/.htpasswd"
AuthType Basic
AuthName "Authenticate!"
require valid-user
Code: Select all
admin:[encrypted password]