.htaccess
Hi all
I am running apache on my redhat 7.3 machine. I am having trouble with .htaccess. Here is the contents of my file: AuthType Basic AuthName "Restricted Directory" AuthUserFile /var/www/html/private/.passwd Require valid-user My password file is at /var/www/html/private/.passwd with a user: test When i go to the site it asks for a password, but i cant get in. Here's my error log: [Mon Sep 23 11:19:31 2002] [error] (13)Permission denied: access to /private/ failed for 192.168.0.10, reason: Authentication failure Does anyone knows what goes wrong??? |
Did you encrypt your password using htpasswd?
|
Yes i did. But i tried a plain text password also.
Both didnt work |
It's solved!
It was a missing module :D |
All times are GMT -5. The time now is 04:40 PM. |