summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-08-12 22:18:10 +0300
committerAndrew Dolgov <[email protected]>2015-08-12 22:18:10 +0300
commitecbd467e642f99e135081fb3612552aa3bc04ac0 (patch)
tree2afa10344a2308bb1abcea78bca1176f3b28d307
parent45913edda0db376991876ab21eba0091f5de1a6c (diff)
parent4a02c2fd56629ac960a9cecbe7c77e1016efb54c (diff)
Merge branch 'german-translation' into 'master'
protect .htaccess and config.php against accessing by strangers Currently .htaccess and config.php can be accessed from strangers via http so I modified the .htaccess file to make sure they are not accessible via http. See merge request !4
-rw-r--r--.htaccess13
1 files changed, 13 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 22b33f000..bdf8c2015 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,16 @@
AddType image/svg+xml svg
AddType image/svg+xml svgz
+# PROTECT all htaccess files
+<Files ~ "^[\._]ht">
+ Order Allow,Deny
+ Deny from all
+ Satisfy All
+</Files>
+
+# PROTECT config.php
+<files config.php>
+ Order Allow,Deny
+ Deny from all
+ Satisfy all
+</files> \ No newline at end of file