Skip to content

Commit 7d296c3

Browse files
committed
Apache httpd 2.2 End-of-Life
1 parent 3f75366 commit 7d296c3

File tree

5 files changed

+5
-46
lines changed

5 files changed

+5
-46
lines changed

.travis.yml

-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ env:
1212

1313
jobs:
1414
include:
15-
- env: # Tests for Apache 2.2.x
16-
- APACHE_VERSION="2.2"
17-
- CONF_TARGET="default"
18-
before_script: ./bin/setup/setup.sh
19-
dist: precise
2015
- env: # Tests for Apache 2.4.x
2116
- APACHE_VERSION="2.4"
2217
- CONF_TARGET="000-default.conf"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ $ path/to/server-configs-apache/bin/build.sh ./.htaccess ~/htaccess.conf
193193

194194
## Support
195195

196-
* ### __Apache v2.2.0+__
196+
* ### __Apache v2.4.0+__
197197
* ### __Browsers:__
198198
* Chrome
199199
* Firefox 4+

bin/setup/2.2.conf

-20
This file was deleted.

src/security/file_access.conf

+4-14
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,8 @@
5353
# include: configuration files, files that contain metadata about the
5454
# project (e.g.: project dependencies), build scripts, etc..
5555

56-
<FilesMatch "(^#.*#|\.(bak|conf|dist|fla|in[ci]|log|orig|psd|sh|sql|sw[op])|~)$">
57-
58-
# Apache < 2.3
59-
<IfModule !mod_authz_core.c>
60-
Order allow,deny
61-
Deny from all
62-
Satisfy All
63-
</IfModule>
64-
65-
# Apache ≥ 2.3
66-
<IfModule mod_authz_core.c>
56+
<IfModule mod_authz_core.c>
57+
<FilesMatch "(^#.*#|\.(bak|conf|dist|fla|in[ci]|log|orig|psd|sh|sql|sw[op])|~)$">
6758
Require all denied
68-
</IfModule>
69-
70-
</FilesMatch>
59+
</FilesMatch>
60+
</IfModule>

src/web_performance/compression.conf

-6
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@
1717
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1818

1919
# Compress all output labeled with one of the following media types.
20-
#
21-
# (!) For Apache versions below version 2.3.7 you don't need to
22-
# enable `mod_filter` and can remove the `<IfModule mod_filter.c>`
23-
# and `</IfModule>` lines as `AddOutputFilterByType` is still in
24-
# the core directives.
25-
#
2620
# https://httpd.apache.org/docs/current/mod/mod_filter.html#addoutputfilterbytype
2721

2822
<IfModule mod_filter.c>

0 commit comments

Comments
 (0)