X-Git-Url: https://git.tld-linux.org/?p=packages%2Fapache.git;a=blobdiff_plain;f=apache-httpd.conf;h=60453a0fb867b220074a78776c82b7371aaa2e3a;hp=d4495c5c823c6ad77b33f075bc47d98a8318f1b1;hb=45dd0a09984de9c699f66d58cb994b63b5188790;hpb=b41c8835fb30635cf45c0a6921ebc6bbcadfcd2d diff --git a/apache-httpd.conf b/apache-httpd.conf index d4495c5..60453a0 100644 --- a/apache-httpd.conf +++ b/apache-httpd.conf @@ -1,4 +1,3 @@ -# # This is the main Apache HTTP server configuration file. # It contains the configuration directives that give the server its instructions. # @@ -7,9 +6,10 @@ # In particular, see # # for a discussion of each configuration directive. -ServerRoot "/etc/httpd" -LoadModule unixd_module modules/mod_unixd.so +LoadModule unixd_module modules/mod_unixd.so + +ServerRoot "/etc/httpd" # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for @@ -52,7 +52,7 @@ ErrorLog logs/error_log # alert, emerg. LogLevel warn -Timeout 300 +Timeout 60 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5 @@ -71,6 +71,21 @@ IncludeOptional conf.d/*.conf # Include webapps config IncludeOptional webapps.d/*.conf +# +# Set a timeout for how long the client may take to send the request header +# and body. +# The default for the headers is header=20-40,MinRate=500, which means wait +# for the first byte of headers for 20 seconds. If some data arrives, +# increase the timeout corresponding to a data rate of 500 bytes/s, but not +# above 40 seconds. +# The default for the request body is body=20,MinRate=500, which is the same +# but has no upper limit for the timeout. +# To disable, set to header=0 body=0 +# + + RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500 + + # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that