Re: [EMAIL PROTECTED] Help with Digest Authentication

2005-11-02 Thread Joshua Slive
On 11/1/05, Leo Papadopoulos [EMAIL PROTECTED] wrote:

 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..

Anything interesting in the apache error_log?

Joshua.

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Help with Digest Authentication

2005-11-02 Thread Leo Papadopoulos
Dear httpd-users and Joshua:

Here is the information Joshua asked for.

The httpd.conf file is configured with:

Location /private/
AuthType Digest
AuthName http://sip.telecomcto.com/
AuthDigestDomain /private/ http://sip.telecomcto.com/
AuthDigestFile /etc/httpd/conf/htdigusers
Require valid-user
/Location

The error log says:

[Wed Nov 02 11:24:40 2005] [error] [client 69.0.78.113] Digest: user `leo'
in realm `http://sip.telecomcto.com/' not found: /private/

The htdigusers file says:
leo:http://sip.telecomcto.com/:23496e7646ea444ff7930fbd325d32f

I still cannot log in. I get rejected as you can see from the error message,
but I don't know why.

Leo P.

-Original Message-
From: Joshua Slive [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 02, 2005 10:49 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Help with Digest Authentication

On 11/1/05, Leo Papadopoulos [EMAIL PROTECTED] wrote:

 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..

Anything interesting in the apache error_log?

Joshua.

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Help with Digest Authentication

2005-11-02 Thread Joshua Kogut
Ok, this:


leo:http://sip.telecomcto.com/:23496e7646ea444ff7930fbd325d32f

is your username:domain:password (I think) The part that says http://sip.telecomcto.com/
 should be the folder that you wish to be private, so methinks that the full entry should be:

leo:http://sip.telecomcto.com/private/:23496e7646ea444ff7930fbd325d32f

This should give you the proper access rights to the private folder.
Since I am no professional, I cannont guarantee that this is the
solution, only that this is what I would do...On 11/2/05, Leo Papadopoulos [EMAIL PROTECTED] wrote:
Dear httpd-users and Joshua:Here is the information Joshua asked for.The httpd.conf
 file is configured with:Location /private/AuthType DigestAuthName http://sip.telecomcto.com/AuthDigestDomain /private/ 
http://sip.telecomcto.com/AuthDigestFile /etc/httpd/conf/htdigusersRequire valid-user/LocationThe error log says:[Wed Nov 02 11:24:40 2005] [error] [client 
69.0.78.113] Digest: user `leo'in realm `http://sip.telecomcto.com/' not found: /private/The htdigusers file says:leo:http://sip.telecomcto.com/:23496e7646ea444ff7930fbd325d32f
I still cannot log in. I get rejected as you can see from the error message,but I don't know why.Leo P.-Original Message-From: Joshua Slive [mailto:
[EMAIL PROTECTED]]Sent: Wednesday, November 02, 2005 10:49 AMTo: users@httpd.apache.orgSubject: Re: [EMAIL PROTECTED] Help with Digest AuthenticationOn 11/1/05, Leo Papadopoulos 
[EMAIL PROTECTED] wrote: 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..Anything interesting in the apache error_log?Joshua.-
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: 
[EMAIL PROTECTED]  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]-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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]For additional commands, e-mail: 
[EMAIL PROTECTED]-- ||jmkogut||email: [EMAIL PROTECTED]|| Networking: Where all your problems are category 5. ||



Re: [EMAIL PROTECTED] Help with Digest Authentication

2005-11-02 Thread Joshua Kogut
Oops, forgot about this...


Location /private/
AuthType Digest
AuthName http://sip.telecomcto.com/
AuthDigestDomain /private/ http://sip.telecomcto.com/
AuthDigestFile /etc/httpd/conf/htdigusersRequire valid-user/Location

Also, I think that the location could be the full path like
/full/path/to/web/root/private/ the authname should be the http address
of the private folder, as should the domain, etc. Hope this helps!
On 11/2/05, Joshua Kogut [EMAIL PROTECTED] wrote:
Ok, this:


leo:http://sip.telecomcto.com/:23496e7646ea444ff7930fbd325d32f

is your username:domain:password (I think) The part that says http://sip.telecomcto.com/
 should be the folder that you wish to be private, so methinks that the full entry should be:

leo:http://sip.telecomcto.com/private/:23496e7646ea444ff7930fbd325d32f

This should give you the proper access rights to the private folder.
Since I am no professional, I cannont guarantee that this is the
solution, only that this is what I would do...On 11/2/05, Leo Papadopoulos 
[EMAIL PROTECTED] wrote:
Dear httpd-users and Joshua:Here is the information Joshua asked for.The httpd.conf

 file is configured with:Location /private/AuthType DigestAuthName http://sip.telecomcto.com/
AuthDigestDomain /private/ 
http://sip.telecomcto.com/AuthDigestFile /etc/httpd/conf/htdigusersRequire valid-user/LocationThe error log says:[Wed Nov 02 11:24:40 2005] [error] [client 

69.0.78.113] Digest: user `leo'in realm `http://sip.telecomcto.com/' not found: /private/The htdigusers file says:leo:
http://sip.telecomcto.com/:23496e7646ea444ff7930fbd325d32f
I still cannot log in. I get rejected as you can see from the error message,but I don't know why.Leo P.-Original Message-From: Joshua Slive [mailto:

[EMAIL PROTECTED]]Sent: Wednesday, November 02, 2005 10:49 AMTo: users@httpd.apache.orgSubject: Re: [
[EMAIL PROTECTED] Help with Digest AuthenticationOn 11/1/05, Leo Papadopoulos 
[EMAIL PROTECTED] wrote: 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..Anything interesting in the apache error_log?Joshua.-

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: 
[EMAIL PROTECTED]  from the digest: 
[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]-
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: 
[EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]For additional commands, e-mail: 

[EMAIL PROTECTED]-- ||jmkogut||email: 
[EMAIL PROTECTED]|| Networking: Where all your problems are category 5. ||


-- ||jmkogut||email: [EMAIL PROTECTED]|| Networking: Where all your problems are category 5. ||


Re: [EMAIL PROTECTED] Help with Digest Authentication

2005-11-02 Thread Joshua Slive
On 11/2/05, Joshua Kogut [EMAIL PROTECTED] wrote:

  Also, I think that the location could be the full path like
 /full/path/to/web/root/private/ the authname should be the http address of
 the private folder, as should the domain, etc. Hope this helps!

No, that is not correct.


  is your username:domain:password (I think) The part that says
 http://sip.telecomcto.com/ should be the folder that you wish to be private,
 so methinks that the full entry should be:
 
 
 leo:http://sip.telecomcto.com/private/:23496e7646ea444ff7930fbd325d32f

I don't believe that is correct either.  But my knowledge of digest
auth is pretty limitted.

Joshua.

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Help with Digest Authentication

2005-11-02 Thread Joe Orton
On Wed, Nov 02, 2005 at 11:33:32AM -0500, Leo Papadopoulos wrote:
 Dear httpd-users and Joshua:
 
 Here is the information Joshua asked for.
 
 The httpd.conf file is configured with:

In your first post you said you had:

   AuthName private area

which is it really using?  The string configured as the AuthName must 
exactly match the realm string passed to htdigest otherwise auth will 
fail.  I'd get rid of the AuthDigestDomain setting from the config as it 
doesn't make much difference.

joe

 
 Location /private/
 AuthType Digest
 AuthName http://sip.telecomcto.com/
 AuthDigestDomain /private/ http://sip.telecomcto.com/
 AuthDigestFile /etc/httpd/conf/htdigusers
 Require valid-user
 /Location
 
 The error log says:
 
 [Wed Nov 02 11:24:40 2005] [error] [client 69.0.78.113] Digest: user `leo'
 in realm `http://sip.telecomcto.com/' not found: /private/
 
 The htdigusers file says:
 leo:http://sip.telecomcto.com/:23496e7646ea444ff7930fbd325d32f
 
 I still cannot log in. I get rejected as you can see from the error message,
 but I don't know why.
 
 Leo P.
 
 -Original Message-
 From: Joshua Slive [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, November 02, 2005 10:49 AM
 To: users@httpd.apache.org
 Subject: Re: [EMAIL PROTECTED] Help with Digest Authentication
 
 On 11/1/05, Leo Papadopoulos [EMAIL PROTECTED] wrote:
 
  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..
 
 Anything interesting in the apache error_log?
 
 Joshua.
 
 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Help with Digest Authentication - PROBLEM SOLVED!

2005-11-02 Thread Leo Papadopoulos
Dear Group,

Thank you. 

I took your advice and I did the following.

1) I stopped using the AuthDigestDomain field. It doesn't seem to do
anything for me.
2) I changed the AuthName to PrivateArea  (notice there is no space).
3) I added the user leo to the htdigusers file with a realm of PrivateArea
4) Finally, (and this is important) I changed the rights of the files in the
private directory so that people other than the owner can read them (644).

Thank you all.

Leo P.

-Original Message-
From: Joe Orton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 02, 2005 3:26 PM
To: Leo Papadopoulos
Cc: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Help with Digest Authentication

On Wed, Nov 02, 2005 at 11:33:32AM -0500, Leo Papadopoulos wrote:
 Dear httpd-users and Joshua:
 
 Here is the information Joshua asked for.
 
 The httpd.conf file is configured with:

In your first post you said you had:

   AuthName private area

which is it really using?  The string configured as the AuthName must 
exactly match the realm string passed to htdigest otherwise auth will 
fail.  I'd get rid of the AuthDigestDomain setting from the config as it 
doesn't make much difference.

joe

 
 Location /private/
 AuthType Digest
 AuthName http://sip.telecomcto.com/
 AuthDigestDomain /private/ http://sip.telecomcto.com/
 AuthDigestFile /etc/httpd/conf/htdigusers
 Require valid-user
 /Location
 
 The error log says:
 
 [Wed Nov 02 11:24:40 2005] [error] [client 69.0.78.113] Digest: user `leo'
 in realm `http://sip.telecomcto.com/' not found: /private/
 
 The htdigusers file says:
 leo:http://sip.telecomcto.com/:23496e7646ea444ff7930fbd325d32f
 
 I still cannot log in. I get rejected as you can see from the error
message,
 but I don't know why.
 
 Leo P.
 
 -Original Message-
 From: Joshua Slive [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, November 02, 2005 10:49 AM
 To: users@httpd.apache.org
 Subject: Re: [EMAIL PROTECTED] Help with Digest Authentication
 
 On 11/1/05, Leo Papadopoulos [EMAIL PROTECTED] wrote:
 
  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..
 
 Anything interesting in the apache error_log?
 
 Joshua.
 
 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 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: [EMAIL PROTECTED]
   from the digest: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Help with Digest Authentication

2005-11-01 Thread Leo Papadopoulos
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
  from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]