From: Joshua Slive Date: Tue, 29 Nov 2005 16:08:01 +0000 (+0000) Subject: Some config file changes: X-Git-Tag: 2.3.0~2722 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d61faa3ebe7552026d2364e1310e58a49e91f5d1;p=thirdparty%2Fapache%2Fhttpd.git Some config file changes: - Make the 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 --- diff --git a/docs/conf/extra/httpd-mpm.conf.in b/docs/conf/extra/httpd-mpm.conf.in index 3f7b1b88a97..36b2cf2d6fe 100644 --- a/docs/conf/extra/httpd-mpm.conf.in +++ b/docs/conf/extra/httpd-mpm.conf.in @@ -57,30 +57,6 @@ LockFile @rel_logfiledir@/accept.lock MaxRequestsPerChild 0 -# 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 - - NumServers 5 - StartThreads 5 - MinSpareThreads 5 - MaxSpareThreads 10 - MaxThreadsPerChild 20 - MaxRequestsPerChild 0 - - -# WinNT MPM -# ThreadsPerChild: constant number of worker threads in the server process -# MaxRequestsPerChild: maximum number of requests a server process serves - - ThreadsPerChild 250 - MaxRequestsPerChild 0 - - # BeOS MPM # StartThreads: how many threads do we initially spawn? # MaxClients: max number of threads we can have (1 thread == 1 client) diff --git a/docs/conf/httpd-win.conf b/docs/conf/httpd-win.conf index 3efd7f25e01..8d2ed9ee3bc 100644 --- a/docs/conf/httpd-win.conf +++ b/docs/conf/httpd-win.conf @@ -161,6 +161,7 @@ DocumentRoot "@@ServerRoot@@/htdocs" AllowOverride None Order deny,allow Deny from all + Satisfy all # @@ -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 diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in index 4727c8a10f0..e493562a151 100644 --- a/docs/conf/httpd.conf.in +++ b/docs/conf/httpd.conf.in @@ -53,7 +53,6 @@ Listen @@Port@@ # @@LoadModule@@ - # # 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 - # 'Main' server configuration # @@ -173,6 +171,7 @@ DocumentRoot "@exp_htdocsdir@" Order allow,deny Deny from all + Satisfy All # @@ -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