[patch] metamail and apache-mod_auth_pam

Marcin Król hawk at limanowa.net
Sat Sep 9 12:54:48 CEST 2006


> apache-mod_auth_pam is not compatible with Apache >= 2.1, as they have
> changed the authn/authz mechanism.

It is compatible. I'm using it successfully on some systems and it works
perfectly.

$ rpm -q apache apache-mod_auth_pam
apache-2.2.3-2
apache-mod_auth_pam-1.1.1-1

Below is example working configuration:

<Directory /some/dir>
  AuthType Basic
  AuthName "Restricted Area"
  AuthPAM_Enabled on
  AuthPAM_FallThrough on
  AuthBasicAuthoritative off
  require valid-user
</Directory>

"AuthBasicAuthoritative off" is required to get it working with Apache
2.x. No code changes are required.

M.


More information about the pld-devel-en mailing list