diff options
author | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2015-06-21 23:58:19 +0200 |
---|---|---|
committer | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2015-06-22 00:45:29 +0200 |
commit | c3fa0a3ca73cf0935de143bd4a1cbd11ea74acb3 (patch) | |
tree | e66b732a6b62b1ad0e0c5ee4e0e0775a29ee8d0f /util/.htaccess | |
parent | c1e0987b880c116b392d65a2b40cda2fd53debe0 (diff) | |
download | volse-hubzilla-c3fa0a3ca73cf0935de143bd4a1cbd11ea74acb3.tar.gz volse-hubzilla-c3fa0a3ca73cf0935de143bd4a1cbd11ea74acb3.tar.bz2 volse-hubzilla-c3fa0a3ca73cf0935de143bd4a1cbd11ea74acb3.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/.htaccess | 11 |
1 files changed, 8 insertions, 3 deletions
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> |