Check for mod_version

This commit is contained in:
Frederic Guillot 2015-10-11 12:05:50 -04:00
parent 41df1a40ab
commit c4a48eda9a
1 changed files with 12 additions and 5 deletions

View File

@ -9,11 +9,18 @@
</IfModule>
<FilesMatch "(kanboard|config.php|config.default.php)">
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
<IfModule mod_version.c>
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
Order allow,deny
Deny from all
</IfVersion>
</IfModule>
</FilesMatch>