diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-23 22:24:07 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-23 22:24:07 -0400 |
commit | 1b0b69a43f7528fd5188d4b48216c6fa7e32eac3 (patch) | |
tree | 1a0346c5760eb98d9b72fd1833673d6ac4f0c79b /.htaccess | |
parent | cb8895c7ed11b2ea95ef366016423b382b6683f2 (diff) |
Add .htaccess rule to deny files access
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,3 +7,7 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [QSA,L] </IfModule> + +<FilesMatch "(kanboard|config.php|config.default.php)"> + Deny from all +</FilesMatch> |