Re: [users@httpd] Help with Digest Authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oops, forgot about this...


<Location /private/>
AuthType Digest
AuthName http://sip.telecomcto.com/
AuthDigestDomain /private/ http://sip.telecomcto.com/
AuthDigestFile /etc/httpd/conf/htdigusers
Require 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 <jmkogut@xxxxxxxxx> 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 < leo@xxxxxxxxxxxxxx> wrote:
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: jslive@xxxxxxxxx]
Sent: Wednesday, November 02, 2005 10:49 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [ users@httpd] Help with Digest Authentication

On 11/1/05, Leo Papadopoulos < leo@xxxxxxxxxxxxxx> 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
||  jmkogut  ||
email: jmkogut@xxxxxxxxx
|| Networking: Where all your problems are category 5. ||



--
||  jmkogut  ||
email: jmkogut@xxxxxxxxx
|| Networking: Where all your problems are category 5. ||

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux