From c3fa0a3ca73cf0935de143bd4a1cbd11ea74acb3 Mon Sep 17 00:00:00 2001
From: Klaus Weidenbach <Klaus.Weidenbach@gmx.net>
Date: Sun, 21 Jun 2015 23:58:19 +0200
Subject: Compatible update for .htaccess.

This should hopefully work in Apache 2.2 and 2.4.
---
 util/.htaccess | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

(limited to 'util')

diff --git a/util/.htaccess b/util/.htaccess
index b311c14c2..a0a0d72d9 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_authz_core.c>
+  Require all denied
+</IfModule>
+<IfModule !mod_authz_core.c>
+  Order deny,allow
+  Deny from all
+</IfModule>
-- 
cgit v1.2.3