Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use DigestAuthentication' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use DigestAuthentication
Authored by: froz on Sep 13, '02 03:58:08AM

Uhm, I left out an arg:

htdigest -c davusers "dav" username



[ Reply to This | # ]
Use DigestAuthentication
Authored by: professor on Sep 13, '02 10:20:44AM

Uhm, I left out an arg:


htdigest -c davusers "dav" username


Use the "-c" (for "create the password file") argument for the first user you add.

Omit it for subsequent users, or you will wipe out the previously-created password file.


My hhtpd.conf entry got munged, so let me repeat it:

\<Directory /Library/WebServer/Documents/dav/billy\>
DAV On
AuthType Digest
AuthDigestFile /usr/local/apache2/var/davusers
AuthDigestGroupFile /usr/local/apache2/var/davgroups
AuthDigestDomain /dav/
AuthName "dav"
AllowOverride None
Options FollowSymLinks Indexes
\<LimitExcept GET HEAD OPTIONS\>
require user billy
\</LimitExcept\>
require group family
\</Directory\>


As was mentioned,

  • The "groups" file is only necessary if you want to restrict access by group of users.
  • With Apache 1.3.x, you need to get the revised mod_auth_digest module. This comes automatically with Apache 2.0.x.
  • iCal and most current wweb browsers (Mozilla, IE, Opera,...) support Digest Authentication. Some older browsers and the webDAV client, Goliath 0.9.1, do not.


[ Reply to This | # ]