1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 This file is generated from xml source: DO NOT EDIT
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8 <title>mod_authn_alias - Apache HTTP Server</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
14 <div id="page-header">
15 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
16 <p class="apache">Apache HTTP Server Version 2.3</p>
17 <img alt="" src="../images/feather.gif" /></div>
18 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
20 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.3</a> > <a href="./">Modules</a></div>
21 <div id="page-content">
22 <div id="preamble"><h1>Apache Module mod_authn_alias</h1>
24 <p><span>Available Languages: </span><a href="../en/mod/mod_authn_alias.html" title="English"> en </a></p>
26 <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Provides the ability to create extended authentication
27 providers based on actual providers</td></tr>
28 <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
29 <tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>authn_alias_module</td></tr>
30 <tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_authn_alias.c</td></tr>
31 <tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache 2.1 and later</td></tr></table>
34 <p>This module allows extended authentication providers to be created
35 within the configuration file and assigned an alias name. The alias
36 providers can then be referenced through the directives
37 <code class="directive"><a href="../mod/mod_auth_basic.html#authbasicprovider">AuthBasicProvider</a></code> or
38 <code class="directive"><a href="../mod/mod_auth_digest.html#authdigestprovider">AuthDigestProvider</a></code> in
39 the same way as a base authentication provider. Besides the ability
40 to create and alias an extended provider, it also allows the same
41 extended authentication provider to be reference by multiple
45 <div id="quickview"><h3 class="directives">Directives</h3>
47 <li><img alt="" src="../images/down.gif" /> <a href="#authnprovideralias"><AuthnProviderAlias></a></li>
51 <li><img alt="" src="../images/down.gif" /> <a href="#example">Example</a></li>
53 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
55 <h2><a name="example" id="example">Example</a></h2>
56 <p>The example below creates two different ldap authentication
57 provider aliases based on the ldap provider. This allows
58 a single authenticated location can be serviced by multiple
61 <div class="example"><h3>Example</h3><p><code>
62 LoadModule authn_alias_module modules/mod_authn_alias.so<br /><br />
63 <AuthnProviderAlias ldap ldap-alias1><br />
65 AuthLDAPBindDN cn=youruser,o=ctx<br />
66 AuthLDAPBindPassword yourpassword<br />
67 AuthLDAPURL ldap://ldap.host/o=ctx<br />
69 </AuthnProviderAlias><br /><br />
70 <AuthnProviderAlias ldap ldap-other-alias><br />
72 AuthLDAPBindDN cn=yourotheruser,o=dev<br />
73 AuthLDAPBindPassword yourotherpassword<br />
74 AuthLDAPURL ldap://other.ldap.host/o=dev?cn<br />
76 </AuthnProviderAlias><br /><br />
78 Alias /secure /webpages/secure<br />
79 <Directory /webpages/secure><br />
81 Order deny,allow<br />
82 Allow from all<br /><br />
84 AuthBasicProvider ldap-other-alias ldap-alias1<br /><br />
87 AuthName LDAP_Protected_Place<br />
88 require valid-user<br />
90 </Directory><br />
93 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
94 <div class="directive-section"><h2><a name="AuthnProviderAlias" id="AuthnProviderAlias"><AuthnProviderAlias></a> <a name="authnprovideralias" id="authnprovideralias">Directive</a></h2>
95 <table class="directive">
96 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Enclose a group of directives that represent an
97 extension of a base authentication provider and referenced by
98 the specified alias</td></tr>
99 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code><AuthnProviderAlias <var>baseProvider Alias</var>>
100 ... </AuthnProviderAlias></code></td></tr>
101 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
102 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
103 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_authn_alias</td></tr>
105 <p><code class="directive"><AuthnProviderAlias></code> and
106 <code></AuthnProviderAlias></code> are used to enclose a group of
107 authentication directives that can be referenced by the alias name
108 using one of the directives <code class="directive"><a href="../mod/mod_auth_basic.html# authbasicprovider">
109 AuthBasicProvider</a></code> or <code class="directive"><a href="../mod/mod_auth_digest.html# authdigestprovider">
110 AuthDigestProvider</a></code>.</p>
115 <div class="bottomlang">
116 <p><span>Available Languages: </span><a href="../en/mod/mod_authn_alias.html" title="English"> en </a></p>
117 </div><div id="footer">
118 <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
119 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>