summaryrefslogtreecommitdiff
path: root/.htaccess
blob: 9a552944fe5ee27fd3f6dfc4cfb135725aeee6d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<IfModule mod_rewrite.c>
    Options -MultiViews

    SetEnv HTTP_MOD_REWRITE On

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [QSA,L]
</IfModule>

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