diff options
author | Guillaume Mazoyer <respawneral@gmail.com> | 2014-10-10 01:20:57 +0200 |
---|---|---|
committer | Guillaume Mazoyer <respawneral@gmail.com> | 2014-10-10 01:20:57 +0200 |
commit | 1b094c269e48db1d1b0f983a2e3f44599a182966 (patch) | |
tree | 1aea6a6d7448ce71a7dd6d119e699c6eec29ce1e /.htaccess | |
parent | e5751517b1e3d35d4d326e249114df8ac9acb01a (diff) |
Handle apache2 version >= 2.4 and <= 2.4.
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,15 @@ <Files config.php> - Require all denied + <IfModule mod_version.c> + <IfVersion < 2.4> + Order allow,deny + Deny from all + </IfVersion> + <IfVersion >= 2.4> + Require all denied + </IfVersion> + </IfModule> + <IfModule !mod_version.c> + Order allow,deny + Deny from all + </IfModule> </Files> |