mirror of
https://github.com/apache/httpd.git
synced 2026-01-26 19:01:35 +03:00
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
This commit is contained in:
@@ -49,11 +49,12 @@
|
||||
#
|
||||
ServerRoot "@@ServerRoot@@"
|
||||
|
||||
<IfModule !mpm_winnt.c>
|
||||
#
|
||||
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
|
||||
#
|
||||
<IfModule !mpm_winnt.c>
|
||||
#LockFile logs/accept.lock
|
||||
</IfModule>
|
||||
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
<IfModule !mpm_winnt.c>
|
||||
<IfModule !perchild.c>
|
||||
ScoreBoardFile logs/apache_runtime_status
|
||||
</IfModule>
|
||||
|
||||
</IfModule>
|
||||
|
||||
|
||||
#
|
||||
# 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
|
||||
#</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.
|
||||
# Bring in additional module-specific configurations
|
||||
#
|
||||
#<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>
|
||||
<IfModule mod_ssl.c>
|
||||
Include ssl.conf
|
||||
</IfModule>
|
||||
|
||||
#
|
||||
# Proxy Server directives. Uncomment the following lines to
|
||||
# enable the proxy server:
|
||||
#
|
||||
#<IfModule mod_proxy.c>
|
||||
#ProxyRequests On
|
||||
#
|
||||
#<Proxy *>
|
||||
# Order deny,allow
|
||||
# Deny from all
|
||||
# Allow from .your_domain.com
|
||||
#</Proxy>
|
||||
<IfModule mod_proxy.c>
|
||||
Include proxy.conf
|
||||
</IfModule>
|
||||
|
||||
#
|
||||
# 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
|
||||
<IfModule mod_ldap.c>
|
||||
Include ldap.conf
|
||||
</IfModule>
|
||||
|
||||
#
|
||||
# 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
|
||||
|
||||
#</IfModule>
|
||||
# End of proxy directives.
|
||||
|
||||
### Section 3: Virtual Hosts
|
||||
#
|
||||
|
||||
@@ -848,67 +848,16 @@ 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.
|
||||
# Bring in additional module-specific configurations
|
||||
#
|
||||
#<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>
|
||||
<IfModule mod_ssl.c>
|
||||
Include ssl.conf
|
||||
</IfModule>
|
||||
|
||||
#
|
||||
# Proxy Server directives. Uncomment the following lines to
|
||||
# enable the proxy server:
|
||||
#
|
||||
#<IfModule mod_proxy.c>
|
||||
#ProxyRequests On
|
||||
#
|
||||
#<Proxy *>
|
||||
# Order deny,allow
|
||||
# Deny from all
|
||||
# Allow from .your_domain.com
|
||||
#</Proxy>
|
||||
<IfModule mod_proxy.c>
|
||||
Include proxy.conf
|
||||
</IfModule>
|
||||
|
||||
#
|
||||
# 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
|
||||
|
||||
#</IfModule>
|
||||
# End of proxy directives.
|
||||
|
||||
### Section 3: Virtual Hosts
|
||||
#
|
||||
|
||||
28
docs/conf/ldap-std.conf
Normal file
28
docs/conf/ldap-std.conf
Normal file
@@ -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.
|
||||
#
|
||||
#<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>
|
||||
|
||||
28
docs/conf/ldap.conf
Normal file
28
docs/conf/ldap.conf
Normal file
@@ -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.
|
||||
#
|
||||
#<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>
|
||||
|
||||
35
docs/conf/proxy-std.conf
Normal file
35
docs/conf/proxy-std.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
#
|
||||
# Proxy Server directives. Uncomment the following lines to
|
||||
# enable the proxy server:
|
||||
#
|
||||
#<IfModule mod_proxy.c>
|
||||
#ProxyRequests On
|
||||
#
|
||||
#<Proxy *>
|
||||
# Order deny,allow
|
||||
# Deny from all
|
||||
# Allow from .your_domain.com
|
||||
#</Proxy>
|
||||
|
||||
#
|
||||
# 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
|
||||
|
||||
#</IfModule>
|
||||
# End of proxy directives.
|
||||
|
||||
35
docs/conf/proxy.conf
Normal file
35
docs/conf/proxy.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
#
|
||||
# Proxy Server directives. Uncomment the following lines to
|
||||
# enable the proxy server:
|
||||
#
|
||||
#<IfModule mod_proxy.c>
|
||||
#ProxyRequests On
|
||||
#
|
||||
#<Proxy *>
|
||||
# Order deny,allow
|
||||
# Deny from all
|
||||
# Allow from .your_domain.com
|
||||
#</Proxy>
|
||||
|
||||
#
|
||||
# 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
|
||||
|
||||
#</IfModule>
|
||||
# End of proxy directives.
|
||||
|
||||
0
docs/conf/ssl.conf
Normal file
0
docs/conf/ssl.conf
Normal file
0
docs/conf/ssl_std.conf
Normal file
0
docs/conf/ssl_std.conf
Normal file
Reference in New Issue
Block a user