summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2012-07-17 21:28:49 +0200
committervlakoff <vlakoff@gmail.com>2012-07-17 21:28:49 +0200
commitd1f02a8ac7912f0b8f31bfe50e2fa92e9201ef33 (patch)
tree9517c44a1bb0e3407d476c40dd3cf3b150f4afb4
parentec298a5c392a05af4596e2bc2282a0e8ef8a74db (diff)
Improve the solution for issue #1631
.htaccess directives compatible with both Apache 2.2 and 2.4
-rw-r--r--application/.htaccess2
-rw-r--r--application/cache/.htaccess2
-rw-r--r--system/.htaccess2
3 files changed, 3 insertions, 3 deletions
diff --git a/application/.htaccess b/application/.htaccess
index ae1d1e6fb..6c63ed4c4 100644
--- a/application/.htaccess
+++ b/application/.htaccess
@@ -1,6 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
-<IfModule access_compat_module>
+<IfModule !authz_core_module>
Deny from all
</IfModule> \ No newline at end of file
diff --git a/application/cache/.htaccess b/application/cache/.htaccess
index ae1d1e6fb..6c63ed4c4 100644
--- a/application/cache/.htaccess
+++ b/application/cache/.htaccess
@@ -1,6 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
-<IfModule access_compat_module>
+<IfModule !authz_core_module>
Deny from all
</IfModule> \ No newline at end of file
diff --git a/system/.htaccess b/system/.htaccess
index ae1d1e6fb..6c63ed4c4 100644
--- a/system/.htaccess
+++ b/system/.htaccess
@@ -1,6 +1,6 @@
<IfModule authz_core_module>
Require all denied
</IfModule>
-<IfModule access_compat_module>
+<IfModule !authz_core_module>
Deny from all
</IfModule> \ No newline at end of file