]> git.pld-linux.org Git - packages/apache.git/commitdiff
- move Dynamic Shared Object (DSO) entries to end file,
authorkloczek <kloczek@pld-linux.org>
Fri, 7 Apr 2000 05:14:29 +0000 (05:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed mod_staus entries (it is now in separated config file),
- start cleanup default config file.

Changed files:
    apache-httpd.conf -> 1.10

apache-httpd.conf

index 6c9dd35edb0135c26acc432658f3767391a1c877..4324b0b504d81c4c3ca59cae880a2d66cf4a2429 100644 (file)
@@ -2,55 +2,43 @@
 ## httpd.conf -- Apache HTTP server configuration file
 ##
 
-#
-# Based upon the NCSA server configuration files originally by Rob McCool.
-#
-# This is the main Apache server configuration file.  It contains the
-# configuration directives that give the server its instructions.
-# See <URL:http://www.apache.org/docs/> for detailed information about
-# the directives.
-#
-# Do NOT simply read the instructions in here without understanding
-# what they do.  They're here only as hints or reminders.  If you are unsure
-# consult the online docs. You have been warned.  
-#
-# After this file is processed, the server will look for and process
-# /etc/httpd/srm.conf and then /etc/httpd/access.conf
-# unless you have overridden these with ResourceConfig and/or
-# AccessConfig directives here.
-#
-# The configuration directives are grouped into three basic sections:
-#  1. Directives that control the operation of the Apache server process as a
-#     whole (the 'global environment').
-#  2. Directives that define the parameters of the 'main' or 'default' server,
-#     which responds to requests that aren't handled by a virtual host.
-#     These directives also provide default values for the settings
-#     of all virtual hosts.
-#  3. Settings for virtual hosts, which allow Web requests to be sent to
-#     different IP addresses or hostnames and have them handled by the
-#     same Apache server process.
-#
-# Configuration and logfile names: If the filenames you specify for many
-# of the server's control files begin with "/" (or "drive:/" for Win32), the
-# server will use that explicit path.  If the filenames do *not* begin
-# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
-# with ServerRoot set to "/usr/local/apache" will be interpreted by the
-# server as "/usr/local/apache/logs/foo.log".
-#
-
-### Section 1: Global Environment
-#
+##### Global Environment
 # The directives in this section affect the overall operation of Apache,
-# such as the number of concurrent requests it can handle or where it
-# can find its configuration files.
-#
+# such as the number of concurrent requests it can handle or where it can
+# find its configuration files.
+
+### ServerType
+# is either inetd, or standalone. Inetd mode is only supported on Unix
+# platforms.
 
-#
-# ServerType is either inetd, or standalone.  Inetd mode is only supported on
-# Unix platforms.
-#
 ServerType standalone
 
+### PidFile
+# The file in which the server should record its process identification
+# number when it starts.
+
+PidFile /var/run/httpd.pid
+
+### Timeout
+# The number of seconds before receives and sends time out.
+### KeepAliveTimeout
+# Number of seconds to wait for the next request from the same client on the
+# same connection.
+
+Timeout                        300
+KeepAliveTimeout       15
+
+### KeepAlive
+# Whether or not to allow persistent connections (more than one request per
+# connection). Set to "Off" to deactivate.
+### MaxKeepAliveRequests
+# The maximum number of requests to allow during a persistent connection.
+# Set to 0 to allow an unlimited amount. We recommend you leave this number
+# high, for maximum performance.
+
+KeepAlive              On
+MaxKeepAliveRequests   100
+
 #
 # ServerRoot: The top of the directory tree under which the server's
 # configuration, error, and log files are kept.
@@ -75,12 +63,6 @@ ServerRoot "/usr"
 #
 LockFile /var/run/httpd.lock
 
-#
-# PidFile: The file in which the server should record its process
-# identification number when it starts.
-#
-PidFile /var/run/httpd.pid
-
 #
 # ScoreBoardFile: File used to store internal server process information.
 # Not all architectures require this.  But if yours does (you'll know because
@@ -101,29 +83,6 @@ ScoreBoardFile /var/run/httpd.scoreboard
 #ResourceConfig /etc/httpd/srm.conf
 AccessConfig /etc/httpd/access.conf
 
-#
-# Timeout: The number of seconds before receives and sends time out.
-#
-Timeout 300
-
-#
-# KeepAlive: Whether or not to allow persistent connections (more than
-# one request per connection). Set to "Off" to deactivate.
-#
-KeepAlive On
-
-#
-# MaxKeepAliveRequests: The maximum number of requests to allow
-# during a persistent connection. Set to 0 to allow an unlimited amount.
-# We recommend you leave this number high, for maximum performance.
-#
-MaxKeepAliveRequests 100
-
-#
-# KeepAliveTimeout: Number of seconds to wait for the next request from the
-# same client on the same connection.
-#
-KeepAliveTimeout 15
 
 #
 # Server-pool size regulation.  Rather than making you guess how many
@@ -182,29 +141,6 @@ MaxRequestsPerChild 30
 #
 #BindAddress *
 
-#
-# Dynamic Shared Object (DSO) Support
-#
-# To be able to use the functionality of a module which was built as a DSO you
-# have to place corresponding `LoadModule' lines at this location so the
-# directives contained in it are actually available _before_ they are used.
-# Please read the file README.DSO in the Apache 1.3 distribution for more
-# details about the DSO mechanism and run `httpd -l' for the list of already
-# built-in (statically linked and thus always available) modules in your httpd
-# binary.
-#
-# Note: The order is which modules are loaded is important.  Don't change
-# the order below without expert advice.
-#
-# Example:
-# LoadModule foo_module libexec/mod_foo.so
-
-#  Reconstruction of the complete module list from all available modules
-#  (static and shared ones) to achieve correct module execution order.
-#  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
-ClearModuleList
-AddModule mod_so.c
-
 #
 # ExtendedStatus controls whether Apache will generate "full" status
 # information (ExtendedStatus On) or just basic information (ExtendedStatus
@@ -755,18 +691,6 @@ BrowserMatch "RealPlayer 4\.0" force-response-1.0
 BrowserMatch "Java/1\.0" force-response-1.0
 BrowserMatch "JDK/1\.0" force-response-1.0
 
-
-#
-# Allow server status reports, with the URL of http://servername/server-status
-# Change the ".your_domain.com" to match your domain to enable.
-#
-#<Location /server-status>
-#      SetHandler server-status
-#      Order deny,allow
-#      Deny from all
-#      Allow from .your_domain.com
-#</Location>
-
 #
 # Allow remote server configuration reports, with the URL of
 #  http://servername/server-info (requires that mod_info.c be loaded).
@@ -790,3 +714,15 @@ BrowserMatch "JDK/1\.0" force-response-1.0
 #      Deny from all
 #      ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
 #</Location>
+
+### Dynamic Shared Object (DSO) Support
+#
+# Example:
+# LoadModule foo_module libexec/mod_foo.so
+
+#  Reconstruction of the complete module list from all available modules
+#  (static and shared ones) to achieve correct module execution order.
+#  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
+ClearModuleList
+AddModule mod_so.c
+
This page took 0.041244 seconds and 4 git commands to generate.