view modules/apache/templates/mod/ldap.conf.erb @ 257:675c1cc61eaf

Update Apache module to get CentOS 8 support Unfortunately it only fixes some bits. mod_wsgi still needs other approaches This also overrides the vhost modification to make them come last in the import order (after module loading)
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Dec 2019 14:43:29 -0500
parents 37675581a273
children d9352a684e62
line wrap: on
line source

<Location /ldap-status>
    SetHandler ldap-status
    <%- if scope.function_versioncmp([@_apache_version, '2.4']) >= 0 -%>
    Require ip 127.0.0.1 ::1
    <%- else -%>
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1 ::1
    Satisfy all
    <%- end -%>
</Location>
<% if @ldap_trusted_global_cert_file -%>
LDAPTrustedGlobalCert <%= @ldap_trusted_global_cert_type %> <%= @ldap_trusted_global_cert_file %>
<% end -%>
<%- if @ldap_shared_cache_size -%>
LDAPSharedCacheSize <%= @ldap_shared_cache_size %>
<%- end -%>
<%- if @ldap_cache_entries -%>
LDAPCacheEntries <%= @ldap_cache_entries %>
<%- end -%>
<%- if @ldap_cache_ttl -%>
LDAPCacheTTL <%= @ldap_cache_ttl %>
<%- end -%>
<%- if @ldap_opcache_entries -%>
LDAPOpCacheEntries <%= @ldap_opcache_entries %>
<%- end -%>
<%- if @ldap_opcache_ttl -%>
LDAPOpCacheTTL <%= @ldap_opcache_ttl %>
<%- end -%>