How to accomplish "AuthType None" in Apache 2.2

Posted by Technorati on Stack Overflow See other posts from Stack Overflow or by Technorati
Published on 2010-04-14T23:02:37Z Indexed on 2010/04/22 7:53 UTC
Read the original article Hit count: 253

Filed under:
|

http://httpd.apache.org/docs/trunk/mod/mod_authn_core.html#authtype talks about "AuthType None", and has an awesome example of exactly what I need to do - unfortunately, it appears to be new to 2.3/2.4. Is there any equivalent feature in 2.2?

The authentication type None disables authentication. When authentication is enabled, it is normally inherited by each subsequent configuration section, unless a different authentication type is specified. If no authentication is desired for a subsection of an authenticated section, the authentication type None may be used; in the following example, clients may access the /www/docs/public directory without authenticating:

<Directory /www/docs> 
AuthType Basic
AuthName Documents
AuthBasicProvider file
AuthUserFile /usr/local/apache/passwd/passwords
Require valid-user 
</Directory>

<Directory /www/docs/public>
AuthType None
Require all granted
</Directory>

© Stack Overflow or respective owner

Related posts about apache2.2

Related posts about authentication