Forum Moderators: phranque

Message Too Old, No Replies

Why could not go through my apache's authentication

         

homan_eggs

2:45 pm on May 16, 2005 (gmt 0)

10+ Year Member



Hi,
I could not go through my apache's authentication .My apache's version is httpd-2.0.52-9.ent .It's running in Redhatas4.The configuration of file httpd.conf is:

#
<Directory "/var/www/html/private">
AllowOverride None
AuthType Basic
AuthName "jamond"
AuthUserFile /var/www/passwd/jamond
require valid-user
</Directory>
#

and the passwd file :jamond is
-rwxrwxrwx 1 apache apache 18 5 16 21:26 jamond

Thanks.

jdMorgan

7:35 pm on May 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



homan_eggs,

Welcome to WebmasterWorld!

Did you create the password file using Apache's utility? This is required in order to properly encrypt the passwrd, so that mod_auth can verify it.

Jim

homan_eggs

6:09 am on May 17, 2005 (gmt 0)

10+ Year Member



[root@server passwd]# htpasswd -c jamond sun
New password:
Re-type new password:
Adding password for user sun

These were the command and messages of it.
Thank you!