You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2012/03/08 02:32:47 UTC
DO NOT REPLY [Bug 52852] New: A wrong example is given in the manual
of "mod_authn_anon". Plz correct it. Thx
https://issues.apache.org/bugzilla/show_bug.cgi?id=52852
Bug #: 52852
Summary: A wrong example is given in the manual of
"mod_authn_anon". Plz correct it. Thx
Product: Apache httpd-2
Version: 2.4.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
AssignedTo: docs@httpd.apache.org
ReportedBy: tixu@cs.ucsd.edu
Classification: Unclassified
Hi,
The only example given in mod_authn_anon is incorrect:
please check http://httpd.apache.org/docs/2.4/mod/mod_authn_anon.html
the example is as follows:
<Directory /var/www/html/private>
AuthName "Use 'anonymous' & Email address for guest entry"
AuthType Basic
AuthBasicProvider file anon
AuthUserFile /path/to/your/.htpasswd
Anonymous_NoUserID off
Anonymous_MustGiveEmail on
Anonymous_VerifyEmail on
Anonymous_LogEmail on
Anonymous anonymous guest www test welcome
Require all granted
Require valid-user
</Directory>
If you configure Apache like this, you are never required to input an anonymous
account as well as the email.
The problem is due to the conf entry "Require all granted".
"When multiple Require directives are used in a single configuration section
and are not contained in another authorization directive like <RequireAll>,
they are implicitly contained within a <RequireAny> directive. Thus the first
one to authorize a user authorizes the entire request, and subsequent Require
directives are ignored."
Please delete that conf entry.
Thanks!!
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
DO NOT REPLY [Bug 52852] A wrong example is given in the manual of
"mod_authn_anon". Plz correct it. Thx
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52852
Igor Galić <i....@brainsware.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FixedInTrunk
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Igor Galić <i....@brainsware.org> 2012-03-08 11:59:08 UTC ---
Fixed in trunk in r1298353
Haven't seen it update yet, though.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org