]> granicus.if.org Git - apache/commitdiff
Some config file changes:
authorJoshua Slive <slive@apache.org>
Tue, 29 Nov 2005 16:08:01 +0000 (16:08 +0000)
committerJoshua Slive <slive@apache.org>
Tue, 29 Nov 2005 16:08:01 +0000 (16:08 +0000)
- Make the <Files> section safer by
  adding Satisfy all (as is already present in 1.3)

- Remove some handler examples that almost nobody will
  use (the config file is not the documentation)

- Remove some win32 specific stuff from the default
  config, since win32 uses its own config file

- Remove the config section for the perchild mpm

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@349747 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/extra/httpd-mpm.conf.in
docs/conf/httpd-win.conf
docs/conf/httpd.conf.in

index 3f7b1b88a9748c13a3aa652a9cb15dd558067878..36b2cf2d6fe6f31a14cb76fb4592328aaf3b826b 100644 (file)
@@ -57,30 +57,6 @@ LockFile @rel_logfiledir@/accept.lock
     MaxRequestsPerChild   0
 </IfModule>
 
-# perchild MPM
-# NumServers: constant number of server processes
-# StartThreads: initial number of worker threads in each server process
-# MinSpareThreads: minimum number of worker threads which are kept spare
-# MaxSpareThreads: maximum number of worker threads which are kept spare
-# MaxThreadsPerChild: maximum number of worker threads in each server process
-# MaxRequestsPerChild: maximum number of connections per server process
-<IfModule mpm_perchild_module>
-    NumServers            5
-    StartThreads          5
-    MinSpareThreads       5
-    MaxSpareThreads      10
-    MaxThreadsPerChild   20
-    MaxRequestsPerChild   0
-</IfModule>
-
-# WinNT MPM
-# ThreadsPerChild: constant number of worker threads in the server process
-# MaxRequestsPerChild: maximum  number of requests a server process serves
-<IfModule mpm_winnt_module>
-    ThreadsPerChild     250
-    MaxRequestsPerChild   0
-</IfModule>
-
 # BeOS MPM
 # StartThreads: how many threads do we initially spawn?
 # MaxClients:   max number of threads we can have (1 thread == 1 client)
index 3efd7f25e011d9d80c3c779f03e8c6fb303d9a97..8d2ed9ee3bc22ea075d7fcbee7a2f53243dc2d7e 100644 (file)
@@ -161,6 +161,7 @@ DocumentRoot "@@ServerRoot@@/htdocs"
     AllowOverride None
     Order deny,allow
     Deny from all
+    Satisfy all
 </Directory>
 
 #
@@ -391,12 +392,6 @@ DefaultType text/plain
     #
     #AddHandler cgi-script .cgi
 
-    # For files that include their own HTTP headers:
-    #AddHandler send-as-is asis
-
-    # For server-parsed imagemap files:
-    #AddHandler imap-file map
-
     # For type maps (negotiated resources):
     #AddHandler type-map var
 
index 4727c8a10f0c6cd2a53aecbea91f92f61e313b5d..e493562a1513b3b78c236413fe854224d659b8dd 100644 (file)
@@ -53,7 +53,6 @@ Listen @@Port@@
 #
 @@LoadModule@@
 
-<IfModule !mpm_winnt_module>
 <IfModule !mpm_netware_module>
 #
 # If you wish httpd to run as a different user or group, you must run
@@ -66,7 +65,6 @@ Listen @@Port@@
 User daemon
 Group daemon
 </IfModule>
-</IfModule>
 
 # 'Main' server configuration
 #
@@ -173,6 +171,7 @@ DocumentRoot "@exp_htdocsdir@"
 <FilesMatch "^\.ht">
     Order allow,deny
     Deny from all
+    Satisfy All
 </FilesMatch>
 
 #
@@ -316,12 +315,6 @@ DefaultType text/plain
     #
     #AddHandler cgi-script .cgi
 
-    # For files that include their own HTTP headers:
-    #AddHandler send-as-is asis
-
-    # For server-parsed imagemap files:
-    #AddHandler imap-file map
-
     # For type maps (negotiated resources):
     #AddHandler type-map var