<ul>
<li>Authentication type (see the
- <directive module="mod_authn_core">AuthType</directive> directive)
+ <directive module="core">AuthType</directive> directive)
<ul>
<li><module>mod_auth_basic</module></li>
<li><module>mod_auth_digest</module></li>
</ul>
</li>
<li>Authorization (see the
- <directive module="mod_authz_core">Require</directive> directive)
+ <directive module="core">Require</directive> directive)
<ul>
<li><module>mod_authnz_ldap</module></li>
<li><module>mod_authz_dbm</module></li>
structure of your server, in order to know where some files are
kept. This should not be terribly difficult, and I'll try to
make this clear when we come to that point.</p>
-
- <p>You will also need to make sure that the modules
- <module>mod_authn_core</module> and <module>mod_authz_core</module>
- have either been built into the httpd binary or loaded by the
- httpd.conf configuration file. Both of these modules provide core
- directives and functionality that are critical to the configuration
- and use of authentication and authorization in the web server.</p>
</section>
<section id="gettingitworking"><title>Getting it working</title>
# (Following line optional)<br />
AuthBasicProvider file<br />
AuthUserFile /usr/local/apache/passwd/passwords<br />
-Require user rbowen
+ Require user rbowen
</example>
<p>Let's examine each of those directives individually. The <directive
>mod_auth_digest</module> and is much more secure. Most recent
browsers support Digest authentication.</p>
- <p>The <directive module="mod_authn_core">AuthName</directive> directive sets
+ <p>The <directive module="core">AuthName</directive> directive sets
the <dfn>Realm</dfn> to be used in the authentication. The realm serves
two major functions. First, the client often presents this information to
the user as part of the password dialog box. Second, it is used by the
href="http://modules.apache.org/">Apache Modules
Database</a>.</p>
- <p>Finally, the <directive module="mod_authz_core">Require</directive>
+ <p>Finally, the <directive module="core">Require</directive>
directive provides the authorization part of the process by
setting the user that is allowed to access this region of the
server. In the next section, we discuss various ways to use the
AuthBasicProvider file<br />
AuthUserFile /usr/local/apache/passwd/passwords<br />
AuthGroupFile /usr/local/apache/passwd/groups<br />
-Require group GroupName
+ Require group GroupName
</example>
<p>Now, anyone that is listed in the group <code>GroupName</code>,