From 25bad8d37eab41b3db605b53899e5c587ba31165 Mon Sep 17 00:00:00 2001
From: Rich Bowen
This example checks for passwords in two different text + files.
+ +
+
+ # Check here first
+ <AuthnProviderAlias file file1>
+
+ AuthUserFile /www/conf/passwords1
+
+ </AuthnProviderAlias>
+
+ # Then check here
+ <AuthnProviderAlias file file2>
+
+ AuthUserFile /www/conf/passwords2
+
+ </AuthnProviderAlias>
+
+ <Directory /var/web/pages/secure>
+
+ AuthBasicProvider file1 file2
+
+ AuthType Basic
+ AuthName "Protected Area"
+ Require valid-user
+
+ </Directory>
+
The example below creates two different ldap authentication provider aliases based on the ldap provider. This allows a single authenticated location to be serviced by multiple ldap hosts:
-This example checks for passwords in two different text
+ files. The example below creates two different ldap authentication
provider aliases based on the ldap provider. This allows
a single authenticated location to be serviced by multiple ldap
hosts:
+
Checking multiple LDAP servers
<AuthnProviderAlias ldap ldap-alias1>
AuthLDAPBindDN cn=youruser,o=ctx
diff --git a/docs/manual/mod/mod_authn_core.xml b/docs/manual/mod/mod_authn_core.xml
index 88d9c5da5e..fd3284cdc6 100644
--- a/docs/manual/mod/mod_authn_core.xml
+++ b/docs/manual/mod/mod_authn_core.xml
@@ -48,13 +48,44 @@
extended authentication provider to be reference by multiple
locations.
+ <AuthnProviderAlias file file1>
+
+
+
+ # Then check here
+ <AuthnProviderAlias file file2>
+
+
+
+ <Directory /var/web/pages/secure>
+
+
+ AuthType Basic
+ AuthName "Protected Area"
+ Require valid-user
+
+
--
2.40.0