You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joost de Heer <sa...@xs4all.nl> on 2006/03/20 19:16:04 UTC

[users@httpd] Re: [Digest Authentication Fail] Apache Http Server V2.2

> Step 3. Then update httpd.conf as following

> LoadModule auth_digest_module modules/mod_auth_digest.so
> <Directory "/usr/local/apache/htdocs/secd">
>    AllowOverride All
> </Directory>
>

> Step 4. Make a new directory named as /usr/local/apache/htdocs/secd,
> create .htaccess as belows:
> "
> AuthType Digest
> AuthName "Digest Test"
> AuthUserFile /usr/local/apache/passwd/digest_passwords
> Require valid-user

Since you're using file based authentication, you need to load the file
authenticator, by loading the module mod_authn_file.so. And since you're
authorising users, you need to load the user authorisation module
mod_authz_user.so

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org