summaryrefslogtreecommitdiff
path: root/.htaccess
blob: 45123a98700c67457c029d32470c6bc9107f1b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<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)">
    <IfModule mod_version.c>
        <IfVersion >= 2.3>
            Require all denied
        </IfVersion>
        <IfVersion < 2.3>
            Order allow,deny
            Deny from all
        </IfVersion>
    </IfModule>

    <IfModule !mod_version.c>
        Order allow,deny
        Deny from all
    </IfModule>
</FilesMatch>