.htaccess: Add compatibility for apache 2.4

This commit is contained in:
Jan Wagner 2015-10-05 22:35:51 +02:00
parent 92cf7f4df6
commit d85741a3a1
5 changed files with 35 additions and 5 deletions

View File

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

View File

@ -1 +1,7 @@
Deny from all
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>

View File

@ -1 +1,7 @@
Deny from all
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>

View File

@ -1 +1,7 @@
Deny from all
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>

View File

@ -1 +1,7 @@
Deny from all
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Deny from all
</IfVersion>