> -----Original Message-----
> From: Joost de Heer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 21, 2006 2:16 AM
> To: Ouyang Lei
> Cc: users@httpd.apache.org
> Subject: 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
> 

I think "mod_authn_file.so" and "mod_authz_user.so" are static loaded module, 
the following command check it in my machine. 

===========================
apachectl -t -D DUMP_MODULES

Loaded Modules:
 core_module (static)
 authn_file_module (static)        <<<
 authn_default_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)     <<<
 authz_default_module (static)
 auth_basic_module (static)
 include_module (static)
 filter_module (static)
 log_config_module (static)
 env_module (static)
 setenvif_module (static)
 mpm_prefork_module (static)
 http_module (static)
 mime_module (static)
 status_module (static)
 autoindex_module (static)
 asis_module (static)
 cgi_module (static)
 negotiation_module (static)
 dir_module (static)
 actions_module (static)
 userdir_module (static)
 alias_module (static)
 so_module (static)
 auth_digest_module (shared)
Syntax OK
===========================

Thank you!

> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to