aboutsummaryrefslogtreecommitdiffstats
path: root/util/.htaccess
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2015-06-21 23:58:19 +0200
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2015-06-21 23:58:19 +0200
commit5a96f3331a86b32f6ed1c44fb44f43a287611a38 (patch)
treefc7d6243c56f10b257515772442f10ba8600ad36 /util/.htaccess
parentc1e0987b880c116b392d65a2b40cda2fd53debe0 (diff)
downloadvolse-hubzilla-5a96f3331a86b32f6ed1c44fb44f43a287611a38.tar.gz
volse-hubzilla-5a96f3331a86b32f6ed1c44fb44f43a287611a38.tar.bz2
volse-hubzilla-5a96f3331a86b32f6ed1c44fb44f43a287611a38.zip
Compatible update for .htaccess.
This should hopefully work in Apache 2.2 and 2.4.
Diffstat (limited to 'util/.htaccess')
-rw-r--r--util/.htaccess11
1 files changed, 8 insertions, 3 deletions
diff --git a/util/.htaccess b/util/.htaccess
index b311c14c2..333a08d40 100644
--- a/util/.htaccess
+++ b/util/.htaccess
@@ -1,5 +1,10 @@
Options -Indexes
-# Remove the following line or modify it to run the string translator utility
-Deny from all
-
+# Remove the following lines or modify it to run the string translator utility
+<IfModule !mod_access_compat.c>
+ Require all denied
+</IfModule>
+<IfModule mod_access_compat.c>
+ Order deny,allow
+ Deny from all
+</IfModule>