Please resolve my issue im trying to apply htdigest in rhel 5 with the given configuration but im not be able to login via digest authentication.
configured in "/etc/httpd/conf/httpd.conf"
<VirtualHost 192.168.0.8:80>
ServerAdmin
webmaster@example.com
DocumentRoot /var/www/html/server1
ServerName server1.example.com
ErrorLog logs/server1.example.com-error_log
CustomLog logs/server1.example.com-access_log common
<Directory "/var/www/html/server1">
AuthType Digest
AuthName "Server1 Member Access Directory"
AuthDigestDomain
http://server1.example.com
AuthUserFile /var/www/html/server1/.htdigest
Require user mark
</Directory>
</VirtualHost>
after that given the command to add user mark into the digest file
[root@server1 ~]# htdigest -c /var/www/html/server1/.htdigest 'server1' mark
then change the ownership of the file ".htdigest"
[root@server1 ~]# chown apache:apache /var/www/html/server1/.htdigest
when im trying to open the webpage server1.example.com its saying "A username and password are being requested by
http://server1.example.com. The site says: "Server1 Member Access Directory""
please help me to resolve this issue..
Thanks