[[1]Index] [[2]Installation] [[3]Configuration] [[4]Frequently Asked Questions] mod_auth_pam Frequently asked questions (FAQ) 1. I want to use other authentication modules, how do I turn mod_auth_pam off for one directory? Use AuthPAM_Enabled off in your .htaccess _____________________________________________________________ 2. I configured mod_auth_pam in the .htaccess as shown above, but Apache doesn't ask for username/password. Why? Most likely, per-directory authorization configuration is disabled. Use AllowOverride AuthConfig in your access.conf _____________________________________________________________ 3. I get lots of "undefined references" when compiling Apache with your module, why? You are using Apache 1.3 and an old version of mod_auth_pam.c. Get v0.7 from the [5]downloadables section. _____________________________________________________________ 4. I get "500 server error" instead of a password prompt when trying to access a password protected page. Why? You are probably using an incorrect .htaccess configuration. Please check your servers error_log for details. _____________________________________________________________ 5. I get "500 server error" after entering the password for a password protected page The username you entered is probably not in the system database. In that case, mod_auth_pam falls through to mod_auth and mod_auth needs more configuration than mod_auth_pam. Solution: Either disable fall-through or configure AuthUserFile and AuthGroupFile for mod_auth _____________________________________________________________ 6. Does mod_auth_pam work with shadow passwords? Yes, but you have to make some changes to the shadow password file. See [6]Using Shadow with PAM for details. 7. What if my question is not answered here? Try asking in the [7]help forum or on the [8]mailing-list! References 1. http://pam.sourceforge.net/mod_auth_pam/ 2. http://pam.sourceforge.net/mod_auth_pam/install.html 3. http://pam.sourceforge.net/mod_auth_pam/configure.html 4. http://pam.sourceforge.net/mod_auth_pam/faq.html 5. http://pam.sourceforge.net/mod_auth_pam/faq.html#download 6. http://pam.sourceforge.net/mod_auth_pam/shadow.html 7. http://sourceforge.net/forum/forum.php?forum_id=20642 8. http://lists.sourceforge.net/lists/listinfo/pam-discuss