#
ServerRoot "@@ServerRoot@@"
+<IfModule !mpm_winnt.c>
#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
#LockFile logs/accept.lock
-#
-# PidFile: The file in which the server should record its process
-# identification number when it starts.
-#
-PidFile logs/httpd.pid
-
#
# ScoreBoardFile: File used to store internal server process information.
# Not all architectures require this. But if yours does (you'll know because
# 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.
+#
+PidFile logs/httpd.pid
+
#
# Timeout: The number of seconds before receives and sends time out.
#
MaxRequestsPerChild 0
</IfModule>
-# Windows MPM
+# WinNT MPM
# ThreadsPerChild: constant number of worker threads in the server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt.c>
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
-# directive. If this directive is present, then the Port directive
-# above does not effect which port is bound.
+# directive.
+#
+# Change this to Listen on specific IP addresses as shown below to
+# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
-Listen @@Port@@
#Listen 12.34.56.78:80
+Listen @@Port@@
#
# Dynamic Shared Object (DSO) Support
#LoadModule auth_db_module modules/mod_auth_db.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
-#LoadModule auth_ldap_module modules/mod_auth_ldap.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#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 mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
+#LoadModule proxy_connect_module modules/proxy_connect.so
+#LoadModule proxy_http_module modules/proxy_http.so
+#LoadModule proxy_ftp_module modules/proxy_ftp.so
#LoadModule rewrite_module modules/mod_rewrite.so
-#LoadModule suexec_module modules/mod_suexec.so
+#LoadModule ssl_module modules/mod_ssl.so
#LoadModule speling_module modules/mod_speling.so
+#LoadModule suexec_module modules/mod_suexec.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule usertrack_module modules/mod_usertrack.so
# virtual host being defined.
#
+<IfModule !mpm_winnt.c>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
User nobody
Group #-1
+</IfModule>
#
# ServerAdmin: Your address, where problems with the server should be
#
# UseCanonicalName: With this setting turned on, whenever Apache needs
# to construct a self-referencing URL (a URL that refers back to the
-# server the response is coming from) it will use ServerName and Port
-# to form a "canonical" name. With this setting off, Apache will use
-# the hostname:port that the client supplied, when possible. This also
+# server the response is coming from) it will use ServerName to form
+# a "canonical" name. With this setting off, Apache will use the
+# hostname:port that the client supplied, when possible. This also
# affects SERVER_NAME and SERVER_PORT in CGI scripts.
#
UseCanonicalName On
##
# WinNT MPM
-# ThreadsPerChild ...... constant number of worker threads in the server process
-# MaxRequestsPerChild .. maximum number of requests a server process serves
+# ThreadsPerChild: constant number of worker threads in the server process
+# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
-#Listen 3000
+# Change this to Listen on specific IP addresses as shown below to
+# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
+#
#Listen 12.34.56.78:80
+Listen @@Port@@
#
# Dynamic Shared Object (DSO) Support
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
-#LoadModule auth_ldap_module modules/mod_auth_ldap.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#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 mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
+#LoadModule proxy_connect_module modules/proxy_connect.so
+#LoadModule proxy_http_module modules/proxy_http.so
+#LoadModule proxy_ftp_module modules/proxy_ftp.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule speling_module modules/mod_speling.so
+#LoadModule ssl_module modules/mod_ssl.so
#LoadModule status_module modules/mod_status.so
+#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule usertrack_module modules/mod_usertrack.so
+#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#
# ExtendedStatus controls whether Apache will generate "full" status
# virtual host being defined.
#
-#
-# Port: The port to which the standalone server listens.
-#
-Port 80
-
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
#
# UseCanonicalName: With this setting turned on, whenever Apache needs
# to construct a self-referencing URL (a URL that refers back to the
-# server the response is coming from) it will use ServerName and Port
-# to form a "canonical" name. With this setting off, Apache will use
-# the hostname:port that the client supplied, when possible. This also
+# server the response is coming from) it will use ServerName to form
+# a "canonical" name. With this setting off, Apache will use the
+# hostname:port that the client supplied, when possible. This also
# affects SERVER_NAME and SERVER_PORT in CGI scripts.
#
UseCanonicalName On