.htaccess: Add compatibility for apache 2.4
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
Deny from all
|
||||
<IfVersion >= 2.3>
|
||||
Require all denied
|
||||
</IfVersion>
|
||||
<IfVersion < 2.3>
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</IfVersion>
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
Deny from all
|
||||
<IfVersion >= 2.3>
|
||||
Require all denied
|
||||
</IfVersion>
|
||||
<IfVersion < 2.3>
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</IfVersion>
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
Deny from all
|
||||
<IfVersion >= 2.3>
|
||||
Require all denied
|
||||
</IfVersion>
|
||||
<IfVersion < 2.3>
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</IfVersion>
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
Deny from all
|
||||
<IfVersion >= 2.3>
|
||||
Require all denied
|
||||
</IfVersion>
|
||||
<IfVersion < 2.3>
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</IfVersion>
|
||||
|
||||
Reference in New Issue
Block a user