]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_ldap: remove redundant ldap-status handler from SSL/TLS examples (Bug 67770)
authorRich Bowen <rbowen@apache.org>
Sun, 3 May 2026 13:33:24 +0000 (13:33 +0000)
committerRich Bowen <rbowen@apache.org>
Sun, 3 May 2026 13:33:24 +0000 (13:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933764 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_ldap.xml

index d796210e1aa561e101024d607033410190c98378..631f2fabc31619f4ec19a21f44d3eae503762f00 100644 (file)
@@ -210,12 +210,7 @@ LDAPOpCacheTTL 600
 
 LDAPTrustedGlobalCert CA_DER /certs/certfile.der
 
-&lt;Location "/ldap-status"&gt;
-    SetHandler ldap-status
-
-    Require host yourdomain.example.com
-
-    Satisfy any
+&lt;Location "/protected"&gt;
     AuthType Basic
     AuthName "LDAP Protected"
     AuthBasicProvider ldap
@@ -231,12 +226,7 @@ LDAPTrustedGlobalCert CA_DER /certs/certfile.der
 
 LDAPTrustedGlobalCert CA_DER /certs/certfile.der
 
-&lt;Location "/ldap-status"&gt;
-    SetHandler ldap-status
-
-    Require host yourdomain.example.com
-
-    Satisfy any
+&lt;Location "/protected"&gt;
     AuthType Basic
     AuthName "LDAP Protected"
     AuthBasicProvider ldap
@@ -284,12 +274,7 @@ LDAPTrustedGlobalCert CA_CERT7_DB /certs/cert7.db
 LDAPTrustedGlobalCert CERT_KEY3_DB /certs/key3.db
 # Specify the secmod file if required
 LDAPTrustedGlobalCert CA_SECMOD /certs/secmod
-&lt;Location "/ldap-status"&gt;
-    SetHandler ldap-status
-
-    Require host yourdomain.example.com
-
-    Satisfy any
+&lt;Location "/protected"&gt;
     AuthType Basic
     AuthName "LDAP Protected"
     AuthBasicProvider ldap
@@ -325,20 +310,15 @@ LDAPTrustedGlobalCert CA_SECMOD /certs/secmod
 # Specify two CA certificate files
 LDAPTrustedGlobalCert CA_DER /certs/cacert1.der
 LDAPTrustedGlobalCert CA_BASE64 /certs/cacert2.pem
-&lt;Location "/ldap-status"&gt;
-    SetHandler ldap-status
-
-    Require host yourdomain.example.com
-
+&lt;Location "/protected"&gt;
+    AuthType Basic
+    AuthName "LDAP Protected"
+    AuthBasicProvider ldap
     LDAPTrustedClientCert CERT_BASE64 /certs/cert1.pem
     LDAPTrustedClientCert KEY_BASE64 /certs/key1.pem
     # CA certs respecified due to per-directory client certs
     LDAPTrustedClientCert CA_DER /certs/cacert1.der
     LDAPTrustedClientCert CA_BASE64 /certs/cacert2.pem
-    Satisfy any
-    AuthType Basic
-    AuthName "LDAP Protected"
-    AuthBasicProvider ldap
     AuthLDAPURL ldaps://127.0.0.1/dc=example,dc=com?uid?one
     Require valid-user
 &lt;/Location&gt;