hr824
Posts: 6
Joined: Mon Jan 07, 2013 1:16 pm

Password Protection is not working for Apache

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

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]

Mobius
Posts: 238
Joined: Thu Aug 30, 2012 1:07 am
Location: San Angelo, Texas USA

Re: Password Protection is not working for Apache

Sat Jan 12, 2013 1:31 am

Have you checked out the sub-forum dedicated to the Apache SW? Might find the answer there.

hr824
Posts: 6
Joined: Mon Jan 07, 2013 1:16 pm

Re: Password Protection is not working for Apache

Sat Jan 12, 2013 7:21 pm

Hmm I searched for an apache forum on the home page but didn't find it. :\

Return to “Beginners”