PDA

View Full Version : .htpasswd Does this Work?


Rodney-E2
11-20-2007, 09:22 AM
I have a client trying to get this working and we cannot get it working right now matter what we try.

Is this compatible?

Rodney-E2
11-20-2007, 09:25 AM
BTW, this is what we are using:

AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/USERNAME/.htpasswd
AuthGroupFile /dev/null
require valid-user

mistwang
11-20-2007, 01:05 PM
What is the problem? Login box won't pop up? or password always fail?

Rodney-E2
11-20-2007, 01:08 PM
I do not even get a login box at all.
I have made sure all the permissions are set right for files and have tried todo this manually and through cPanel.

I get nothing in the error.log either.

mistwang
11-20-2007, 01:37 PM
Seems works fine in our test environment, please try add "AllowOverride all" in document root configuration section of that user in httpd.conf, if it makes it work, then it might be apache httpd.conf compatibility issue need to be addressed. please send us your httpd.conf for testing.