Page 1 of 1

Password Protection is not working for Apache

Posted: Sat Jan 12, 2013 1:17 am
by hr824
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

Code: Select all

Access-Control-Allow-Origin: *
AuthUserFile "/var/www/.htpasswd"
AuthType Basic
AuthName "Authenticate!"
require valid-user
/var/www/.htpasswd

Code: Select all

admin:[encrypted password]

Re: Password Protection is not working for Apache

Posted: Sat Jan 12, 2013 1:31 am
by Mobius
Have you checked out the sub-forum dedicated to the Apache SW? Might find the answer there.

Re: Password Protection is not working for Apache

Posted: Sat Jan 12, 2013 7:21 pm
by hr824
Hmm I searched for an apache forum on the home page but didn't find it. :\