aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlaus <Klaus.Weidenbach@gmx.net>2015-06-22 00:33:53 +0200
committerKlaus <Klaus.Weidenbach@gmx.net>2015-06-22 00:33:53 +0200
commit26ff848639089658d49013e3a5beea35a95f30ee (patch)
tree68ea773bdf5b2863da3d7cd69a3a76f22f7eb824
parent9f9dee28ca6cb86a7c58fa8fd28c086498e83e21 (diff)
downloadvolse-hubzilla-26ff848639089658d49013e3a5beea35a95f30ee.tar.gz
volse-hubzilla-26ff848639089658d49013e3a5beea35a95f30ee.tar.bz2
volse-hubzilla-26ff848639089658d49013e3a5beea35a95f30ee.zip
Revert "Compatible update for .htaccess."
-rw-r--r--.htaccess10
-rw-r--r--util/.htaccess11
-rw-r--r--view/.htaccess10
3 files changed, 8 insertions, 23 deletions
diff --git a/.htaccess b/.htaccess
index e9c4de14d..39fd89e04 100644
--- a/.htaccess
+++ b/.htaccess
@@ -5,13 +5,7 @@ AddType audio/ogg .oga
# don't allow any web access to logfiles, even after rotation/compression
<FilesMatch "\.(out|log|gz)$">
- <IfModule !mod_access_compat.c>
- Require all denied
- </IfModule>
- <IfModule mod_access_compat.c>
- Order deny,allow
- Deny from all
- </IfModule>
+Deny from all
</FilesMatch>
<IfModule mod_rewrite.c>
@@ -28,4 +22,6 @@ AddType audio/ogg .oga
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
+
</IfModule>
+
diff --git a/util/.htaccess b/util/.htaccess
index 333a08d40..b311c14c2 100644
--- a/util/.htaccess
+++ b/util/.htaccess
@@ -1,10 +1,5 @@
Options -Indexes
-# 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>
+# Remove the following line or modify it to run the string translator utility
+Deny from all
+
diff --git a/view/.htaccess b/view/.htaccess
index 115be49c0..559a5fcc0 100644
--- a/view/.htaccess
+++ b/view/.htaccess
@@ -1,9 +1,3 @@
<FilesMatch "\.tpl">
- <IfModule !mod_access_compat.c>
- Require all denied
- </IfModule>
- <IfModule mod_access_compat.c>
- Order deny,allow
- Deny from all
- </IfModule>
-</FilesMatch>
+Deny from all
+</FilesMatch> \ No newline at end of file