httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduardo Mendes <>
Subject [users@httpd] Authentication (digest) - help
Date Tue, 25 Jul 2006 23:11:51 GMT

I am trying to get digest auth to work with my web server.  I am using my home 
dir as an example.

http.conf  (bits that I think are important) 

LoadModule auth_digest_module modules/

<IfModule mod_userdir.c>
    # UserDir is disabled by default since it can confirm the presence
    # of a username on the system (depending on home directory
    # permissions).
    #UserDir disable

    # To enable requests to /~user/ to serve the user's public_html
    # directory, remove the "UserDir disable" line above, and uncomment
    # the following line instead:
    UserDir public_html


# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
<Directory /home/*/public_html>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
        Order allow,deny
        Allow from all
    <LimitExcept GET POST OPTIONS>
        Order deny,allow
        Deny from all


AuthType Digest
AuthName "private area"
AuthDigestDomain /private/
AuthDigestFile /home/eduardo/public_html/.htdigest-passwd
Require valid-user

then I issued the command

htdigest -c /home/eduardo/public_html/.htdigest-passwd  "private area" eduardo

It doesn 't work at all.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to 
complete your request.

Please contact the server administrator, root@localhost and inform them of the 
time the error occurred, and anything you might have done that may have 
caused the error.

More information about this error may be available in the server error log.

l/.htaccess: Invalid command 'AuthDigestFile', perhaps misspelled or defined 
a module not included in the server configuration

I have no idea what apache is telling? All the modules have been loaded!

Any suggestions?

Many thanks


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message