1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
<html>
<head>
<title>mod_auth_pam: Frequently Asked Questions (FAQ)</title>
</head>
<body bgcolor="white" text="black">
<h1 align=center>mod_auth_pam Frequently asked questions (FAQ)</h1>
<ol>
<li><em>I want to use other authentication modules, how do I turn mod_auth_pam off for one directory?</em>
<p>Use<pre>AuthPAM_Enabled off</pre>in your <tt>.htaccess</tt></p>
<hr noshade>
<li><em>I configured mod_auth_pam in the <tt>.htaccess</tt> as shown above, but Apache doesn't ask for username/password. Why?</em>
<p>Most likely, per-directory authorization configuration is disabled. Use <pre>AllowOverride AuthConfig</pre> in your <tt>access.conf</tt></p>
<hr noshade>
<li><em>I get lots of "undefined references" when compiling Apache with your module, why?</em>
<p>You are using Apache 1.3 and an old version of mod_auth_pam.c. Get v0.7 from the <a href="#download">downloadables</a> section.</p>
<hr noshade>
<li><em>I get "<tt>500 server error</tt>" instead of a password prompt when trying to access a password protected page. Why?</em>
<p>You are probably using an incorrect <tt>.htaccess</tt> configuration. Please check your servers <tt>error_log</tt> for details.
<hr noshade>
<li><em>I get "500 server error" after entering the password for a password protected page</em>
<p>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 <tt>AuthUserFile</tt> and <tt>AuthGroupFile</tt> for mod_auth
<hr noshade>
<li><em>Does mod_auth_pam work with shadow passwords?</em>
<p><p>Yes, but you have to make some changes to the shadow password file. See <a href="shadow.html">Using Shadow with PAM</a> for details.</p>
</ol>
<hr noshade>
<p>
<address>Copyright © 2000 by <a href="mailto:ingo@blank.pages.de">Ingo Lütkebohle</a></address>
</body>
</html>
|