summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2001-08-19 03:44:43 +0200
committerGraham Leggett <minfrin@apache.org>2001-08-19 03:44:43 +0200
commitd7ef3198858041e4b269c404bd47358106c0b70e (patch)
tree1c7e08fa724a81ae32dfad816e29c6b43b09058b /docs
parentSome documentation corrections. Add the missing LDAPSharedCacheSize directive (diff)
downloadapache2-d7ef3198858041e4b269c404bd47358106c0b70e.tar.xz
apache2-d7ef3198858041e4b269c404bd47358106c0b70e.zip
Added a default commented-out mod_ldap and mod_auth_ldap
configuration to httpd-std.conf and httpd-win.conf PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90352 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r--docs/conf/httpd-std.conf30
-rw-r--r--docs/conf/httpd-win.conf30
2 files changed, 60 insertions, 0 deletions
diff --git a/docs/conf/httpd-std.conf b/docs/conf/httpd-std.conf
index 76f91644ba..9fd44d952f 100644
--- a/docs/conf/httpd-std.conf
+++ b/docs/conf/httpd-std.conf
@@ -175,6 +175,7 @@ MaxRequestsPerChild 0
#LoadModule auth_db_module modules/mod_auth_db.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
+#LoadModule auth_ldap_module modules/mod_auth_ldap.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
@@ -182,6 +183,7 @@ MaxRequestsPerChild 0
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule info_module modules/mod_info.so
+#LoadModule ldap_module modules/mod_ldap.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule rewrite_module modules/mod_rewrite.so
@@ -847,6 +849,34 @@ BrowserMatch "JDK/1\.0" force-response-1.0
#</Location>
#
+# Enable the LDAP connection pool and shared memory cache. Enable the
+# LDAP cache status handler. Requires that mod_ldap be loaded. Change
+# the ".your_domain.com" to match your domain to enable.
+#
+#<IfModule util_ldap.c>
+#
+# LDAPSharedCacheSize 200000
+# LDAPCacheEntries 1024
+# LDAPCacheTTL 600
+# LDAPOpCacheEntries 1024
+# LDAPOpCacheTTL 600
+#
+# <Location /ldap-status>
+# SetHandler ldap-status
+# Order deny,allow
+# Deny from all
+# Allow from .your_domain.com
+# <IfModule mod_auth_ldap.c>
+# AuthLDAPEnabled on
+# AuthLDAPURL ldap://127.0.0.1/dc=example,dc=com?uid?one
+# AuthLDAPAuthoritative on
+# require valid-user
+# </IfModule>
+# </Location>
+#
+#</IfModule>
+
+#
# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
#
diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf
index c807312978..85f80d60d8 100644
--- a/docs/conf/httpd-win.conf
+++ b/docs/conf/httpd-win.conf
@@ -113,6 +113,7 @@ MaxRequestsPerChild 0
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
+#LoadModule auth_ldap_module modules/mod_auth_ldap.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
@@ -120,6 +121,7 @@ MaxRequestsPerChild 0
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule info_module modules/mod_info.so
+#LoadModule ldap_module modules/mod_ldap.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule speling_module modules/mod_speling.so
@@ -766,6 +768,34 @@ BrowserMatch "JDK/1\.0" force-response-1.0
#</Location>
#
+# Enable the LDAP connection pool and shared memory cache. Enable the
+# LDAP cache status handler. Requires that mod_ldap be loaded. Change
+# the ".your_domain.com" to match your domain to enable.
+#
+#<IfModule util_ldap.c>
+#
+# LDAPSharedCacheSize 200000
+# LDAPCacheEntries 1024
+# LDAPCacheTTL 600
+# LDAPOpCacheEntries 1024
+# LDAPOpCacheTTL 600
+#
+# <Location /ldap-status>
+# SetHandler ldap-status
+# Order deny,allow
+# Deny from all
+# Allow from .your_domain.com
+# <IfModule mod_auth_ldap.c>
+# AuthLDAPEnabled on
+# AuthLDAPURL ldap://127.0.0.1/dc=example,dc=com?uid?one
+# AuthLDAPAuthoritative on
+# require valid-user
+# </IfModule>
+# </Location>
+#
+#</IfModule>
+
+#
# Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
#