From d90e107ee04c31f75475580ed67037dcb3a4babb Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 4 Oct 2001 20:40:37 +0000 Subject: [PATCH] Split the significant modules into segregated module configs. Probably should do the same with negotation/autoindex, since those are _so_ huge, but not this afternoon on my schedule. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91295 13f79535-47bb-0310-9956-ffa450edef68 --- docs/conf/httpd-std.conf | 75 +++++++++------------------------------- docs/conf/httpd-win.conf | 65 ++++------------------------------ docs/conf/ldap-std.conf | 28 +++++++++++++++ docs/conf/ldap.conf | 28 +++++++++++++++ docs/conf/proxy-std.conf | 35 +++++++++++++++++++ docs/conf/proxy.conf | 35 +++++++++++++++++++ docs/conf/ssl.conf | 0 docs/conf/ssl_std.conf | 0 8 files changed, 149 insertions(+), 117 deletions(-) create mode 100644 docs/conf/ldap-std.conf create mode 100644 docs/conf/ldap.conf create mode 100644 docs/conf/proxy-std.conf create mode 100644 docs/conf/proxy.conf create mode 100644 docs/conf/ssl.conf create mode 100644 docs/conf/ssl_std.conf diff --git a/docs/conf/httpd-std.conf b/docs/conf/httpd-std.conf index 44213526aa..3a935deba9 100644 --- a/docs/conf/httpd-std.conf +++ b/docs/conf/httpd-std.conf @@ -49,11 +49,12 @@ # ServerRoot "@@ServerRoot@@" - # # The accept serialization lock file MUST BE STORED ON A LOCAL DISK. # + #LockFile logs/accept.lock + # # ScoreBoardFile: File used to store internal server process information. @@ -61,12 +62,13 @@ ServerRoot "@@ServerRoot@@" # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # + ScoreBoardFile logs/apache_runtime_status - + # # PidFile: The file in which the server should record its process # identification number when it starts. @@ -202,6 +204,8 @@ Listen @@Port@@ #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 auth_ldap_module modules/mod_auth_ldap.so #LoadModule mime_magic_module modules/mod_mime_magic.so #LoadModule proxy_module modules/mod_proxy.so #LoadModule proxy_connect_module modules/proxy_connect.so @@ -944,67 +948,20 @@ BrowserMatch "JDK/1\.0" force-response-1.0 # # -# 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. -# -# -# -# LDAPSharedCacheSize 200000 -# LDAPCacheEntries 1024 -# LDAPCacheTTL 600 -# LDAPOpCacheEntries 1024 -# LDAPOpCacheTTL 600 -# -# -# SetHandler ldap-status -# Order deny,allow -# Deny from all -# Allow from .your_domain.com -# -# AuthLDAPEnabled on -# AuthLDAPURL ldap://127.0.0.1/dc=example,dc=com?uid?one -# AuthLDAPAuthoritative on -# require valid-user -# -# -# -# - +# Bring in additional module-specific configurations # -# Proxy Server directives. Uncomment the following lines to -# enable the proxy server: -# -# -#ProxyRequests On -# -# -# Order deny,allow -# Deny from all -# Allow from .your_domain.com -# + + Include ssl.conf + -# -# Enable/disable the handling of HTTP/1.1 "Via:" headers. -# ("Full" adds the server version; "Block" removes all outgoing Via: headers) -# Set to one of: Off | On | Full | Block -# -#ProxyVia On + + Include proxy.conf + -# -# To enable the cache as well, edit and uncomment the following lines: -# (no cacheing without CacheRoot) -# -#CacheRoot "@@ServerRoot@@/proxy" -#CacheSize 5 -#CacheGcInterval 4 -#CacheMaxExpire 24 -#CacheLastModifiedFactor 0.1 -#CacheDefaultExpire 1 -#NoCache a_domain.com another_domain.edu joes.garage_sale.com + + Include ldap.conf + -# -# End of proxy directives. ### Section 3: Virtual Hosts # diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index 3f47a3154f..65f0bdc041 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -848,67 +848,16 @@ BrowserMatch "JDK/1\.0" force-response-1.0 # # -# 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. +# Bring in additional module-specific configurations # -# -# -# LDAPSharedCacheSize 200000 -# LDAPCacheEntries 1024 -# LDAPCacheTTL 600 -# LDAPOpCacheEntries 1024 -# LDAPOpCacheTTL 600 -# -# -# SetHandler ldap-status -# Order deny,allow -# Deny from all -# Allow from .your_domain.com -# -# AuthLDAPEnabled on -# AuthLDAPURL ldap://127.0.0.1/dc=example,dc=com?uid?one -# AuthLDAPAuthoritative on -# require valid-user -# -# -# -# - -# -# Proxy Server directives. Uncomment the following lines to -# enable the proxy server: -# -# -#ProxyRequests On -# -# -# Order deny,allow -# Deny from all -# Allow from .your_domain.com -# - -# -# Enable/disable the handling of HTTP/1.1 "Via:" headers. -# ("Full" adds the server version; "Block" removes all outgoing Via: headers) -# Set to one of: Off | On | Full | Block -# -#ProxyVia On + + Include ssl.conf + -# -# To enable the cache as well, edit and uncomment the following lines: -# (no cacheing without CacheRoot) -# -#CacheRoot "@@ServerRoot@@/proxy" -#CacheSize 5 -#CacheGcInterval 4 -#CacheMaxExpire 24 -#CacheLastModifiedFactor 0.1 -#CacheDefaultExpire 1 -#NoCache a_domain.com another_domain.edu joes.garage_sale.com + + Include proxy.conf + -# -# End of proxy directives. ### Section 3: Virtual Hosts # diff --git a/docs/conf/ldap-std.conf b/docs/conf/ldap-std.conf new file mode 100644 index 0000000000..5de72d17ee --- /dev/null +++ b/docs/conf/ldap-std.conf @@ -0,0 +1,28 @@ +# +# 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. +# +# +# +# LDAPSharedCacheSize 200000 +# LDAPCacheEntries 1024 +# LDAPCacheTTL 600 +# LDAPOpCacheEntries 1024 +# LDAPOpCacheTTL 600 +# +# +# SetHandler ldap-status +# Order deny,allow +# Deny from all +# Allow from .your_domain.com +# +# AuthLDAPEnabled on +# AuthLDAPURL ldap://127.0.0.1/dc=example,dc=com?uid?one +# AuthLDAPAuthoritative on +# require valid-user +# +# +# +# + diff --git a/docs/conf/ldap.conf b/docs/conf/ldap.conf new file mode 100644 index 0000000000..5de72d17ee --- /dev/null +++ b/docs/conf/ldap.conf @@ -0,0 +1,28 @@ +# +# 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. +# +# +# +# LDAPSharedCacheSize 200000 +# LDAPCacheEntries 1024 +# LDAPCacheTTL 600 +# LDAPOpCacheEntries 1024 +# LDAPOpCacheTTL 600 +# +# +# SetHandler ldap-status +# Order deny,allow +# Deny from all +# Allow from .your_domain.com +# +# AuthLDAPEnabled on +# AuthLDAPURL ldap://127.0.0.1/dc=example,dc=com?uid?one +# AuthLDAPAuthoritative on +# require valid-user +# +# +# +# + diff --git a/docs/conf/proxy-std.conf b/docs/conf/proxy-std.conf new file mode 100644 index 0000000000..62b56ceb0c --- /dev/null +++ b/docs/conf/proxy-std.conf @@ -0,0 +1,35 @@ +# +# Proxy Server directives. Uncomment the following lines to +# enable the proxy server: +# +# +#ProxyRequests On +# +# +# Order deny,allow +# Deny from all +# Allow from .your_domain.com +# + +# +# Enable/disable the handling of HTTP/1.1 "Via:" headers. +# ("Full" adds the server version; "Block" removes all outgoing Via: headers) +# Set to one of: Off | On | Full | Block +# +#ProxyVia On + +# +# To enable the cache as well, edit and uncomment the following lines: +# (no cacheing without CacheRoot) +# +#CacheRoot "@@ServerRoot@@/proxy" +#CacheSize 5 +#CacheGcInterval 4 +#CacheMaxExpire 24 +#CacheLastModifiedFactor 0.1 +#CacheDefaultExpire 1 +#NoCache a_domain.com another_domain.edu joes.garage_sale.com + +# +# End of proxy directives. + diff --git a/docs/conf/proxy.conf b/docs/conf/proxy.conf new file mode 100644 index 0000000000..62b56ceb0c --- /dev/null +++ b/docs/conf/proxy.conf @@ -0,0 +1,35 @@ +# +# Proxy Server directives. Uncomment the following lines to +# enable the proxy server: +# +# +#ProxyRequests On +# +# +# Order deny,allow +# Deny from all +# Allow from .your_domain.com +# + +# +# Enable/disable the handling of HTTP/1.1 "Via:" headers. +# ("Full" adds the server version; "Block" removes all outgoing Via: headers) +# Set to one of: Off | On | Full | Block +# +#ProxyVia On + +# +# To enable the cache as well, edit and uncomment the following lines: +# (no cacheing without CacheRoot) +# +#CacheRoot "@@ServerRoot@@/proxy" +#CacheSize 5 +#CacheGcInterval 4 +#CacheMaxExpire 24 +#CacheLastModifiedFactor 0.1 +#CacheDefaultExpire 1 +#NoCache a_domain.com another_domain.edu joes.garage_sale.com + +# +# End of proxy directives. + diff --git a/docs/conf/ssl.conf b/docs/conf/ssl.conf new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/conf/ssl_std.conf b/docs/conf/ssl_std.conf new file mode 100644 index 0000000000..e69de29bb2 -- 2.50.1