httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Papadopoulos" <...@telecomcto.com>
Subject [users@httpd] Help with Digest Authentication
Date Wed, 02 Nov 2005 00:48:49 GMT
Dear HTTPD users,

I am fairly new to Apache, but my server is running and I am successfully
serving up html and php.

Now I want to add DIGEST authentication when a user tries to access the
/private directory off of my WebRoot directory. My webroot directory is
/var/www/html and is configured as such in the httpd.conf file.

So...here is the information.

1) I am running Apache version 2.0.54 on FC4.
2) I have loaded the mod_auth.so, mod_auth_anon.so, mod_auth_dbm.so, and
mod_auth_digest.so.
3) I have used htdigest tool to create a password file call htdigusers in
the /etc/httpd/conf directory and have added a user called leo with a
password of testing (<--this is not the real password).
4) I have added a section to my httpd.conf file to force digest
authentication for the /private directory.
This section reads as follows:
<Location /private/>
AuthType Digest
AuthName "private area"
AuthDigestDomain http://sip.telecomcto.com AuthDigestFile
/etc/httpd/conf/htdigusers Require valid-user </Location>
5) I put a file called index.html in the /private directory.

When I access http://sip.telecomcto.com/private Firefox brings up the
username password box, but when I type it in it does not accept the username
and password and just brings up the dialog box again..

WHY IS THIS HAPPENING? PLEASE HELP.

________________________________
Telecom CTO
 Leo Papadopoulos
10 Old Stone Court
Ridgefield, CT 06877
Tel: 203-438-8117
Cell: 203-788-6364
E-mail: leo@telecomCTO.com
Web site: www.telecomCTO.com

________________________________

  
 
  Telecom CTO
 
 
 
Leo Papadopoulos
10 Old Stone Court
Ridgefield, CT 06877
Tel: 203-438-8117
Cell: 203-788-6364
E-mail: leo@telecomCTO.com
Web site: www.telecomCTO.com  
 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message