Skip to content

Commit c43dd41

Browse files
committed
Create httpd-default.conf
1 parent 85f97ae commit c43dd41

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
#
2+
# This configuration file reflects default settings for Apache HTTP Server.
3+
#
4+
# You may change these, but chances are that you may not need to.
5+
#
6+
7+
#
8+
# Timeout: The number of seconds before receives and sends time out.
9+
#
10+
Timeout 60
11+
12+
#
13+
# KeepAlive: Whether or not to allow persistent connections (more than
14+
# one request per connection). Set to "Off" to deactivate.
15+
#
16+
KeepAlive On
17+
18+
#
19+
# MaxKeepAliveRequests: The maximum number of requests to allow
20+
# during a persistent connection. Set to 0 to allow an unlimited amount.
21+
# We recommend you leave this number high, for maximum performance.
22+
#
23+
MaxKeepAliveRequests 100
24+
25+
#
26+
# KeepAliveTimeout: Number of seconds to wait for the next request from the
27+
# same client on the same connection.
28+
#
29+
KeepAliveTimeout 5
30+
31+
#
32+
# UseCanonicalName: Determines how Apache constructs self-referencing
33+
# URLs and the SERVER_NAME and SERVER_PORT variables.
34+
# When set "Off", Apache will use the Hostname and Port supplied
35+
# by the client. When set "On", Apache will use the value of the
36+
# ServerName directive.
37+
#
38+
UseCanonicalName Off
39+
40+
#
41+
# AccessFileName: The name of the file to look for in each directory
42+
# for additional configuration directives. See also the AllowOverride
43+
# directive.
44+
#
45+
AccessFileName .htaccess
46+
47+
#
48+
# ServerTokens
49+
# This directive configures what you return as the Server HTTP response
50+
# Header. The default is 'Full' which sends information about the OS-Type
51+
# and compiled in modules.
52+
# Set to one of: Full | OS | Minor | Minimal | Major | Prod
53+
# where Full conveys the most information, and Prod the least.
54+
#
55+
ServerTokens Full
56+
57+
#
58+
# Optionally add a line containing the server version and virtual host
59+
# name to server-generated pages (internal error documents, FTP directory
60+
# listings, mod_status and mod_info output etc., but not CGI generated
61+
# documents or custom error documents).
62+
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
63+
# Set to one of: On | Off | EMail
64+
#
65+
ServerSignature Off
66+
67+
#
68+
# HostnameLookups: Log the names of clients or just their IP addresses
69+
# e.g., www.apache.org (on) or 204.62.129.132 (off).
70+
# The default is off because it'd be overall better for the net if people
71+
# had to knowingly turn this feature on, since enabling it means that
72+
# each client request will result in AT LEAST one lookup request to the
73+
# nameserver.
74+
#
75+
HostnameLookups Off
76+
77+
#
78+
# Set a timeout for how long the client may take to send the request header
79+
# and body.
80+
# The default for the headers is header=20-40,MinRate=500, which means wait
81+
# for the first byte of headers for 20 seconds. If some data arrives,
82+
# increase the timeout corresponding to a data rate of 500 bytes/s, but not
83+
# above 40 seconds.
84+
# The default for the request body is body=20,MinRate=500, which is the same
85+
# but has no upper limit for the timeout.
86+
# To disable, set to header=0 body=0
87+
#
88+
<IfModule reqtimeout_module>
89+
RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500
90+
</IfModule>

0 commit comments

Comments
 (0)