Skip to content

Commit

Permalink
Apache httpd 2.2 End-of-Life
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Apr 4, 2018
1 parent 3f75366 commit 7d296c3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 46 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ env:

jobs:
include:
- env: # Tests for Apache 2.2.x
- APACHE_VERSION="2.2"
- CONF_TARGET="default"
before_script: ./bin/setup/setup.sh
dist: precise
- env: # Tests for Apache 2.4.x
- APACHE_VERSION="2.4"
- CONF_TARGET="000-default.conf"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ $ path/to/server-configs-apache/bin/build.sh ./.htaccess ~/htaccess.conf

## Support

* ### __Apache v2.2.0+__
* ### __Apache v2.4.0+__
* ### __Browsers:__
* Chrome
* Firefox 4+
Expand Down
20 changes: 0 additions & 20 deletions bin/setup/2.2.conf

This file was deleted.

18 changes: 4 additions & 14 deletions src/security/file_access.conf
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,8 @@
# include: configuration files, files that contain metadata about the
# project (e.g.: project dependencies), build scripts, etc..

<FilesMatch "(^#.*#|\.(bak|conf|dist|fla|in[ci]|log|orig|psd|sh|sql|sw[op])|~)$">

# Apache < 2.3
<IfModule !mod_authz_core.c>
Order allow,deny
Deny from all
Satisfy All
</IfModule>

# Apache ≥ 2.3
<IfModule mod_authz_core.c>
<IfModule mod_authz_core.c>
<FilesMatch "(^#.*#|\.(bak|conf|dist|fla|in[ci]|log|orig|psd|sh|sql|sw[op])|~)$">
Require all denied
</IfModule>

</FilesMatch>
</FilesMatch>
</IfModule>
6 changes: 0 additions & 6 deletions src/web_performance/compression.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

<IfModule mod_filter.c>
Expand Down

0 comments on commit 7d296c3

Please sign in to comment.