Skip to content
Permalink
Browse files

Handle apache2 version >= 2.4 and <= 2.4.

  • Loading branch information...
respawner committed Oct 9, 2014
1 parent e575151 commit 1b094c269e48db1d1b0f983a2e3f44599a182966
Showing with 13 additions and 1 deletion.
  1. +13 −1 .htaccess
@@ -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>

1 comment on commit 1b094c2

@rboissat

This comment has been minimized.

Copy link
Contributor

commented on 1b094c2 Nov 3, 2014

C'est bien, ça n'a pas l'air du tout chiant comme changement de version :)

Please sign in to comment.
You can’t perform that action at this time.