-# $Id: apache-httpd.conf,v 1.58 2011/10/25 09:40:41 psz Exp $
-#
# This is the main Apache HTTP server configuration file.
# It contains the configuration directives that give the server its instructions.
#
# for a discussion of each configuration directive.
ServerRoot "/etc/httpd"
-DefaultType none
+
+LoadModule unixd_module modules/mod_unixd.so
+
# 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
# alert, emerg.
LogLevel warn
-Timeout 300
+Timeout 60
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
# 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
+#
+<IfModule reqtimeout_module>
+ RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
+</IfModule>
+
<IfModule alias_module>
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
AllowOverride None
Options None
<IfModule mod_authz_host.c>
- Order allow,deny
- Allow from all
+ Require all granted
</IfModule>
</Directory>
</IfModule>