summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess8
1 files changed, 7 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index d17e5c80..9a552944 100644
--- a/.htaccess
+++ b/.htaccess
@@ -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>