From: dgaudet Date: Tue, 16 Sep 1997 04:06:03 +0000 (+0000) Subject: |From Martin.Kraemer@mch.sni.de Mon Sep 15 21:04:46 1997 X-Git-Tag: APACHE_1_3b1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb5bff9e93eb8be4f45e2d9b39504253a784b2db;p=thirdparty%2Fapache%2Fhttpd.git |From Martin.Kraemer@mch.sni.de Mon Sep 15 21:04:46 1997 |Date: Fri, 5 Sep 1997 14:22:32 +0200 (MET DST) |From: Martin Kraemer |Reply-To: new-httpd@apache.org |To: Apache Mailing List |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 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@79267 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_auth_anon.html b/docs/manual/mod/mod_auth_anon.html index 333fd6b99e8..5e61f34af20 100644 --- a/docs/manual/mod/mod_auth_anon.html +++ b/docs/manual/mod/mod_auth_anon.html @@ -101,7 +101,7 @@ allows users to share URLs.

Anonymous_LogEmail directive

Syntax: Anonymous_LogEmail on | off
-Default: Anonymous_LogEmail off
+Default: Anonymous_LogEmail on
Context: directory, .htaccess
Override: AuthConfig
Status: Extension
@@ -114,7 +114,7 @@ allows users to share URLs.

Anonymous_MustGiveEmail directive

Syntax: Anonymous_MustGiveEmail on | off
-Default: Anonymous_MustGiveEmail off
+Default: Anonymous_MustGiveEmail on
Context: directory, .htaccess
Override: AuthConfig
Status: Extension
@@ -170,29 +170,33 @@ The password entered must be a valid email address, ie. contain at least one '@'
  • The userID must be one of anonymous guest www test welcome and comparison is not case sensitive. -<directory /web/docs/public>
  • -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 (Anonymous_LogEmail)

    Excerpt of access.conf:

    -Anonymous anonymous guest www test welcome

    +Anonymous_NoUserId off
    Anonymous_MustGiveEmail on
    Anonymous_VerifyEmail on
    -Anonymous_NoUserId off
    Anonymous_LogEmail on
    +Anonymous anonymous guest www test welcome

    AuthName Use 'anonymous' & Email address for guest entry
    -AuthType basic

    - - +AuthType basic +

    +# An AuthUserFile/AuthDBUserFile/AuthDBMUserFile
    +# directive must be specified, or use
    +# Anonymous_Authoritative for public access.
    +# In the .htaccess for the public directory, add:
    +<Files *>
    order deny,allow
    allow from all

    require valid-user
    +</Files>