Forum Moderators: phranque

Message Too Old, No Replies

Password Authorisation

Password does not validate

         

premasagar

1:34 pm on Jun 12, 2004 (gmt 0)

10+ Year Member



Can anyone assist?

I've put an .htaccess file inside a folder I want to password protect. I enter the correct password, but it doesn't let me in.

The .htaccess file:

AuthType Basic
AuthName "Webmaster"
AuthUserFile /var/www/.htpasswd
AuthGroupFile /var/www/.htgroup
Require group webmaster

The .htgroup file contains (something like) this:

webmaster: webmaster fred

And the .htpasswd file something like this:

webmaster:6SSsD08QXLlk6
fred:tEGbFW7G.DyG6

The .htpasswd and .htgroup files were automatically generated by the site administration tool I used to initially create users and groups.

Any suggestions for why this might be and what I could try?

Thanks,
Prem.

lemat

5:22 pm on Jun 14, 2004 (gmt 0)

10+ Year Member



check error_log and file permissions

and try to run htpasswd and compare the hashed passwords given by this command to the password written in .htpasswd file.

premasagar

6:49 pm on Jun 14, 2004 (gmt 0)

10+ Year Member



OK. Thanks, Lemat. Will do.

Prem.