dgaudet 97/09/15 21:06:05
Modified: htdocs/manual/mod mod_auth_anon.html Log: |From [EMAIL PROTECTED] Mon Sep 15 21:04:46 1997 |Date: Fri, 5 Sep 1997 14:22:32 +0200 (MET DST) |From: Martin Kraemer <[EMAIL PROTECTED]> |Reply-To: new-httpd@apache.org |To: Apache Mailing List <new-httpd@apache.org> |Subject: [DOC] mod_auth_anon.html corrections | |The mod_auth_anon.html documentation describes the default of |the Anonymous_LogEmail and Anonymous_MustGiveEmail being "off", but in |the code, the default seems to be "on". | |The "Example" section could be improved because when used as-is, the |server returns a [500] server error (configuration error: couldn't check |user. No user file?). I added a comment to clarify things. Submitted by: Martin Kraemer Reviewed by: Dean Gaudet Revision Changes Path 1.14 +13 -9 apachen/htdocs/manual/mod/mod_auth_anon.html Index: mod_auth_anon.html =================================================================== RCS file: /export/home/cvs/apachen/htdocs/manual/mod/mod_auth_anon.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- mod_auth_anon.html 1997/08/26 02:07:20 1.13 +++ mod_auth_anon.html 1997/09/16 04:06:03 1.14 @@ -101,7 +101,7 @@ <h2><A name="LogEmail">Anonymous_LogEmail directive</A></h2> <strong>Syntax:</strong> Anonymous_LogEmail <em>on | off</em><br> -<strong>Default:</strong> <code>Anonymous_LogEmail off</code><br> +<strong>Default:</strong> <code>Anonymous_LogEmail on</code><br> <strong>Context:</strong> directory, .htaccess<br> <strong>Override:</strong> AuthConfig<br> <strong>Status:</strong> Extension<br> @@ -114,7 +114,7 @@ <h2><A name="MustGiveEmail">Anonymous_MustGiveEmail directive</A></h2> <!--%plaintext <?INDEX {\tt Anonymous_MustGiveEmail} directive> --> <strong>Syntax:</strong> Anonymous_MustGiveEmail <em>on</em> | <em>off</em><br> -<strong>Default:</strong> <code>Anonymous_MustGiveEmail off</code><br> +<strong>Default:</strong> <code>Anonymous_MustGiveEmail on</code><br> <strong>Context:</strong> directory, .htaccess<br> <strong>Override:</strong> AuthConfig<br> <strong>Status:</strong> Extension<br> @@ -170,29 +170,33 @@ <li> The userID must be one of <code>anonymous guest www test welcome</code> and comparison is <b>not</b> case sensitive. -<code><directory /web/docs/public></code> <li> -And the Email addresses entered in the passswd field are logged to +And the Email addresses entered in the passwd field are logged to the httpd-log file (<code>Anonymous_LogEmail</code>) </ul> <p> Excerpt of access.conf: <blockquote><code> -Anonymous anonymous guest www test welcome<p> +Anonymous_NoUserId off<br> Anonymous_MustGiveEmail on<br> Anonymous_VerifyEmail on<br> -Anonymous_NoUserId off<br> Anonymous_LogEmail on<br> +Anonymous anonymous guest www test welcome<p> <p> AuthName Use 'anonymous' & Email address for guest entry<br> -AuthType basic<p> - -</code> +AuthType basic +<p> +# An AuthUserFile/AuthDBUserFile/AuthDBMUserFile<br> +# directive must be specified, or use<br> +# Anonymous_Authoritative for public access.<br> +# In the .htaccess for the public directory, add:<br> +<Files *><br> order deny,allow <br> allow from all <br> <p> require valid-user <br> +</Files><br> </code></blockquote>