|
1 | 1 | # Configuration File - Apache Server Configs |
2 | 2 | # https://httpd.apache.org/docs/current/ |
3 | 3 |
|
4 | | -# Sets the top of the directory tree under which the server's |
5 | | -# configuration, error, and log files are kept. |
| 4 | +# Sets the top of the directory tree under which the server's configuration, |
| 5 | +# error, and log files are kept. |
6 | 6 | # Do not add a slash at the end of the directory path. |
7 | | -# If you point ServerRoot at a non-local disk, be sure to specify |
8 | | -# a local disk on the Mutex directive, if file-based mutexes are used. |
9 | | -# If you wish to share the same ServerRoot for multiple httpd daemons, |
10 | | -# you will need to change at least PidFile. |
| 7 | +# If you point ServerRoot at a non-local disk, be sure to specify a local disk |
| 8 | +# on the Mutex directive, if file-based mutexes are used. |
| 9 | +# If you wish to share the same ServerRoot for multiple httpd daemons, you will |
| 10 | +# need to change at least PidFile. |
11 | 11 | # https://httpd.apache.org/docs/current/mod/core.html#serverroot |
12 | 12 | ServerRoot "/usr/local/apache2" |
13 | 13 |
|
@@ -66,15 +66,15 @@ LogLevel warn |
66 | 66 | LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined |
67 | 67 |
|
68 | 68 | # The location and format of the access logfile. |
69 | | - # If you *do* define per-<VirtualHost> access logfiles, transactions will be |
70 | | - # logged therein and *not* in this file. |
| 69 | + # If you *do* define per-<VirtualHost> access logfiles, transactions will |
| 70 | + # be logged therein and *not* in this file. |
71 | 71 | # https://httpd.apache.org/docs/current/mod/mod_log_config.html#customlog |
72 | 72 | CustomLog logs/access.log combined |
73 | 73 | </IfModule> |
74 | 74 |
|
75 | | -# Prevent Apache from sending in the `Server` response header its |
76 | | -# exact version number, the description of the generic OS-type or |
77 | | -# information about its compiled-in modules. |
| 75 | +# Prevent Apache from sending its version number, the description of the |
| 76 | +# generic OS-type or information about its compiled-in modules in the "Server" |
| 77 | +# response header. |
78 | 78 | # https://httpd.apache.org/docs/current/mod/core.html#servertokens |
79 | 79 | ServerTokens Prod |
80 | 80 | Include h5bp/security/server_software_information.conf |
@@ -122,12 +122,11 @@ Include h5bp/media_types/media_types.conf |
122 | 122 | # Set character encodings. |
123 | 123 | Include h5bp/media_types/character_encodings.conf |
124 | 124 |
|
125 | | -# On systems that support it, memory-mapping or the sendfile |
126 | | -# syscall may be used to deliver files. |
127 | | -# This usually improves server performance, but must |
128 | | -# be turned off when serving from networked-mounted |
129 | | -# filesystems or if support for these functions is otherwise |
130 | | -# broken on your system. |
| 125 | +# On systems that support it, memory-mapping or the sendfile syscall may be |
| 126 | +# used to deliver files. |
| 127 | +# This usually improves server performance, but must be turned off when serving |
| 128 | +# from networked-mounted filesystems or if support for these functions is |
| 129 | +# otherwise broken on your system. |
131 | 130 | # Defaults: EnableMMAP On, EnableSendfile Off |
132 | 131 | # https://httpd.apache.org/docs/current/mod/core.html#enablemmap |
133 | 132 | # https://httpd.apache.org/docs/current/mod/core.html#enablesendfile |
|
0 commit comments