Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: want to set up Digest md5 Password Verification |
|
Author |
|
LucienFB
Joined: 06 Jan 2008 Posts: 3
|
Posted: Sun 06 Jan '08 13:07 Post subject: want to set up Digest md5 Password Verification |
|
|
I want to put in config file the Digest md5 Password Verification
I uncommented Load Module auth_digest_module modules/mod_auth_digest.so
I am on XPWindows
In the config file,
How should I set up the
<Directory............
</Directory>
Thanks in Advance,
Lucien |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Sun 06 Jan '08 18:24 Post subject: |
|
|
There is an example in the mod_auth_digest documentation.
This example uses <Location> rather than <Directory>, but the same authentication directives can be used inside either one.
-tom- |
|
Back to top |
|
LucienFB
Joined: 06 Jan 2008 Posts: 3
|
Posted: Sun 06 Jan '08 20:30 Post subject: Service Specific Error on attempting to restart Apache2 |
|
|
I got a service specific error on attempting to restart Apache 2 with
<Directory /private>
AuthType Digest
AuthName "private area"
AuthDigestDomain /private/ http://phpmailer.glascna.org/phpFileUpload/
AuthDigestProvider file
AuthUserFile C:/Program Files/Apache Group/Apache2/.digest_pw
Require valid-user
</Directory>
Did I make a mistake?
Thanks in Advance,
Lucien |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Mon 07 Jan '08 2:29 Post subject: |
|
|
You definitely need to put your password filename inside double-quotes because it contains spaces: "Program Files", "Apache Group". Code: | AuthUserFile "C:/Program Files/Apache Group/Apache2/.digest_pw" |
When you make httpd.conf changes like this, before you start up the Apache service open a DOS window and go to your Apache \bin directory - then type:This will check your httpd.conf file and tell you about any errors.
-tom- |
|
Back to top |
|
|
|
|
|
|