mod_auth_digest question

This is a discussion on mod_auth_digest question within the Apache Web Server forums, part of the Web Server and Related Forums category; Running Apache 2.0.46 on WinXP Home to cut to the heart of the matter: is there an AuthDigestAuthoritative ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2003
Ceej
 
Posts: n/a
Default mod_auth_digest question

Running Apache 2.0.46 on WinXP Home

to cut to the heart of the matter:
is there an AuthDigestAuthoritative directive ??

When I try to use it I get an error (Apache won't start).
I find that AuthDigestAuthoritative is documented in one book that I have
but not on the Apache web site!

Here is my situation:

I have successfully configured mod_auth to work by using these directives.
LoadModule auth_module modules/mod_auth.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
AuthName "foobar"
AuthType Basic
AuthUserFile "C:/Program Files/Apache
Group/Apache2/passwd/pwbasic"
AuthAuthoritative on
Require valid-user

I am trying to make mod_auth_digest work.
However, Apache fails to start when I have ALL these directives for my
htdocs directory
#LoadModule auth_module modules/mod_auth.so
LoadModule auth_digest_module modules/mod_auth_digest.so
AuthType Digest
AuthDigestFile "C:/Program Files/Apache
Group/Apache2/passwd/pwdigest"
AuthDigestDomain "C:/Program Files/Apache Group/Apache2/htdocs"
AuthDigestAuthoritative on
Require valid-user

When I change httpd.conf while Apache is running and then try to restart it,
I get:
[Sat Jul 12 11:54:10 2003] [notice] Parent: Received restart signal --
Restarting the server.
Syntax error on line 302 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Invalid command 'AuthDigestAuthoritative', perhaps mis-spelled or
defined by
a module not included in the server configuration

So I comment out the AuthDigestAuthoritative directive and Apache comes up
and I am prompted for a userid and password (a different form from that of
the Basic auth).
I find this in the error log:
[Sat Jul 12 17:08:52 2003] [notice] Digest: generating secret for digest
authentication ...
[Sat Jul 12 17:08:53 2003] [notice] Digest: done
[Sat Jul 12 17:08:53 2003] [notice] Parent: Created child process 3256
[Sat Jul 12 17:08:53 2003] [notice] Digest: generating secret for digest
authentication ...
[Sat Jul 12 17:08:53 2003] [notice] Digest: done
[Sat Jul 12 17:08:53 2003] [notice] Child 3256: Child process is running

So I am confused as to what to do.
Can I assume that the default is "ON" and not have to worry?

thanks,
-ceej


--
************************************************** **************************
******************************************
Life is not measured by the number of breaths we take, but by the moments
that take our breath away.
************************************************** **************************
******************************************


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0