Check for mod_version
This commit is contained in:
parent
41df1a40ab
commit
c4a48eda9a
17
.htaccess
17
.htaccess
|
|
@ -9,11 +9,18 @@
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<FilesMatch "(kanboard|config.php|config.default.php)">
|
<FilesMatch "(kanboard|config.php|config.default.php)">
|
||||||
<IfVersion >= 2.3>
|
<IfModule mod_version.c>
|
||||||
Require all denied
|
<IfVersion >= 2.3>
|
||||||
</IfVersion>
|
Require all denied
|
||||||
<IfVersion < 2.3>
|
</IfVersion>
|
||||||
|
<IfVersion < 2.3>
|
||||||
|
Order allow,deny
|
||||||
|
Deny from all
|
||||||
|
</IfVersion>
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule !mod_version.c>
|
||||||
Order allow,deny
|
Order allow,deny
|
||||||
Deny from all
|
Deny from all
|
||||||
</IfVersion>
|
</IfModule>
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue