.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> </IfModule>
<FilesMatch "(kanboard|config.php|config.default.php)"> <FilesMatch "(kanboard|config.php|config.default.php)">
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Deny from all Deny from all
</IfVersion>
</FilesMatch> </FilesMatch>

View File

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

View File

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

View File

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

View File

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