summaryrefslogtreecommitdiff
path: root/program/.htaccess
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-07-02 08:20:15 +0000
committeralecpl <alec@alec.pl>2011-07-02 08:20:15 +0000
commit4b1d5d6e384fc5bddff8ee1c7cb35b8ea9c84bf3 (patch)
tree9b1755aa5f2529d58cfd37a826bfd81c83d87d53 /program/.htaccess
parent02e079f9170539a639a9f42248829faeb7c17ae3 (diff)
Improve .htaccess rules to make it less easy to fingerprint roundcube version
by denying access to files and stoping directory indexes (#1484066)
Diffstat (limited to 'program/.htaccess')
-rw-r--r--program/.htaccess4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/.htaccess b/program/.htaccess
new file mode 100644
index 000000000..4ad1b9d12
--- /dev/null
+++ b/program/.htaccess
@@ -0,0 +1,4 @@
+<IfModule mod_rewrite.c>
+RewriteEngine On
+RewriteRule !^js|.*\.gif$ - [F]
+</IfModule>