#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
-#<IfModule !mpm_winnt.c>
-#<IfModule !mpm_netware.c>
+#<IfModule !mpm_winnt_module>
+#<IfModule !mpm_netware_module>
#LockFile @rel_logfiledir@/accept.lock
#</IfModule>
#</IfModule>
# If specified, ensure that no two invocations of Apache share the same
# scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
#
-#<IfModule !mpm_netware.c>
-#<IfModule !perchild.c>
+#<IfModule !mpm_netware_module>
+#<IfModule !mpm_perchild_module>
#ScoreBoardFile @rel_logfiledir@/apache_runtime_status
#</IfModule>
#</IfModule>
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
-<IfModule !mpm_netware.c>
-PidFile @rel_runtimedir@/httpd.pid
+<IfModule !mpm_netware_module>
+ PidFile @rel_runtimedir@/httpd.pid
</IfModule>
#
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
-<IfModule prefork.c>
+<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
-<IfModule worker.c>
+<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
# 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 perchild.c>
+<IfModule mpm_perchild_module>
NumServers 5
StartThreads 5
MinSpareThreads 5
# 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>
+<IfModule mpm_winnt_module>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>
# StartThreads: how many threads do we initially spawn?
# MaxClients: max number of threads we can have (1 thread == 1 client)
# MaxRequestsPerThread: maximum number of requests each thread will process
-<IfModule beos.c>
+<IfModule mpm_beos_module>
StartThreads 10
MaxClients 50
MaxRequestsPerThread 10000
# recommended that the default value of 0 be set for this
# directive on NetWare. This will allow the thread to
# continue to service requests indefinitely.
-<IfModule mpm_netware.c>
+<IfModule mpm_netware_module>
ThreadStackSize 65536
StartThreads 250
MinSpareThreads 25
# to handle request spikes
# MaxSpareThreads: Maximum number of idle threads per process
# MaxRequestsPerChild: Maximum number of connections per server process
-<IfModule mpmt_os2.c>
+<IfModule mpm_mpmt_os2_module>
StartServers 2
MinSpareThreads 5
MaxSpareThreads 10
# virtual host being defined.
#
-<IfModule !mpm_winnt.c>
-<IfModule !mpm_netware.c>
+<IfModule !mpm_winnt_module>
+<IfModule !mpm_netware_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
#
-<IfModule mod_userdir.c>
+<IfModule userdir_module>
UserDir public_html
</IfModule>
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
-<IfModule mod_dir.c>
+<IfModule dir_module>
DirectoryIndex index.html index.html.var
</IfModule>
Deny from all
</Files>
-<IfModule mod_mime.c>
+<IfModule mime_module>
#
# TypesConfig describes where the mime.types file (or equivalent) is
# to be found.
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
-<IfModule mod_mime_magic.c>
+<IfModule mime_magic_module>
MIMEMagicFile @rel_sysconfdir@/magic
</IfModule>
#
LogLevel warn
-<IfModule mod_log_config.c>
+<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
ServerSignature On
-<IfModule mod_alias.c>
+<IfModule alias_module>
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
</IfModule>
-<IfModule mod_cgid.c>
+<IfModule cgid_module>
#
# Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
# for setting UNIX socket for communicating with cgid.
#
# Directives controlling the display of server-generated directory listings.
#
-<IfModule mod_autoindex.c>
+<IfModule autoindex_module>
#
# IndexOptions: Controls the appearance of server-generated directory
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
</IfModule>
-<IfModule mod_mime.c>
+<IfModule mime_module>
#
# AddType allows you to add to or override the MIME configuration
AddLanguage zh-TW .zh-tw
</IfModule>
-<IfModule mod_negotiation.c>
+<IfModule negotiation_module>
#
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
</IfModule>
-<IfModule mod_mime.c>
+<IfModule mime_module>
#
# Commonly used filename extensions to character sets. You probably
# want to avoid clashes with the language extensions, unless you
# ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
# ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
-<IfModule mod_setenvif.c>
+<IfModule setenvif_module>
#
# The following directives modify normal HTTP response behavior to
# handle known problems with browser implementations.
BrowserMatch "^XML Spy" redirect-carefully
</IfModule>
-<IfModule mod_status.c>
+<IfModule status_module>
#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
#
# Bring in additional module-specific configurations
#
-<IfModule mod_ssl.c>
+<IfModule ssl_module>
Include @rel_sysconfdir@/ssl.conf
</IfModule>