logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Simple question regarding Digest Authentication
Author
eyesblind



Joined: 07 Dec 2009
Posts: 5

PostPosted: Mon 07 Dec '09 20:19    Post subject: Simple question regarding Digest Authentication Reply with quote

Hello,
Could someone please explain the significance of "realm", when using the htdigest utility? Also, could some provide examples please.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7329
Location: Germany, Next to Hamburg

PostPosted: Tue 05 Jan '10 11:30    Post subject: Reply with quote

You can set the realm with AuthName "private area"

example

Code:

<Location /private/>
AuthType Digest
AuthName "private area"
AuthDigestDomain /private/ http://mirror.my.dom/private2/

AuthDigestProvider file
AuthUserFile /web/auth/.digest_pw
Require valid-user
</Location>


For more details see http://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html

if you still have a question, please ask again.
Back to top
eyesblind



Joined: 07 Dec 2009
Posts: 5

PostPosted: Tue 05 Jan '10 15:22    Post subject: Reply with quote

James Blond wrote:
You can set the realm with AuthName "private area"

example

Code:

<Location /private/>
AuthType Digest
AuthName "private area"
AuthDigestDomain /private/ http://mirror.my.dom/private2/

AuthDigestProvider file
AuthUserFile /web/auth/.digest_pw
Require valid-user
</Location>


Thank You
Back to top


Reply to topic   Topic: Simple question regarding Digest Authentication View previous topic :: View next topic
Post new topic   Forum Index -> Apache