aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2017-05-07 19:04:04 +0200
committerlookshe <github@lookshe.org>2017-05-07 19:04:04 +0200
commit3d3d8a7e03cf51d3652aa34f23b31de7a114da7f (patch)
treeb4247d26cea37de319d232d9ceb15e50ea2f183c
parentb317ffc7bfff772e83f8770e79218a30a14194f3 (diff)
set default file handler to avoid execution of scripts
-rw-r--r--storage-backend/files/.htaccess3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage-backend/files/.htaccess b/storage-backend/files/.htaccess
index 45552cb..fddf64c 100644
--- a/storage-backend/files/.htaccess
+++ b/storage-backend/files/.htaccess
@@ -1 +1,4 @@
Options -Indexes
+<Files *>
+ SetHandler default-handler
+</Files>