summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2015-10-05 22:35:51 +0200
committerJan Wagner <waja@cyconet.org>2015-10-05 22:46:30 +0200
commitd85741a3a13c558942d655d0b161e2d642a70d6c (patch)
tree11b477f4ddd18972beb2bb00dab097670a5dd666 /.htaccess
parent92cf7f4df60e3d6105dae5c6c78d58b1577a3f58 (diff)
.htaccess: Add compatibility for apache 2.4
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>