summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorAlex Bilbie <alex@alexbilbie.com>2012-07-17 19:43:00 +0200
committerAlex Bilbie <alex@alexbilbie.com>2012-07-17 19:43:00 +0200
commit6697cf0c64d34992f8b2a97383d582b2fbf66b1f (patch)
tree1b608745cd61756ff941ea0d8b52781776e64fc5 /application
parentafee226aa4487b3645fb916f99b4cf7f012af536 (diff)
Updated .htaccess files with Apache 2.4+ safe deny statements. Fixes #1631
Diffstat (limited to 'application')
-rw-r--r--application/.htaccess7
-rw-r--r--application/cache/.htaccess7
2 files changed, 12 insertions, 2 deletions
diff --git a/application/.htaccess b/application/.htaccess
index 14249c50b..ae1d1e6fb 100644
--- a/application/.htaccess
+++ b/application/.htaccess
@@ -1 +1,6 @@
-Deny from all \ No newline at end of file
+<IfModule authz_core_module>
+ Require all denied
+</IfModule>
+<IfModule access_compat_module>
+ Deny from all
+</IfModule> \ No newline at end of file
diff --git a/application/cache/.htaccess b/application/cache/.htaccess
index 3418e55a6..ae1d1e6fb 100644
--- a/application/cache/.htaccess
+++ b/application/cache/.htaccess
@@ -1 +1,6 @@
-deny from all \ No newline at end of file
+<IfModule authz_core_module>
+ Require all denied
+</IfModule>
+<IfModule access_compat_module>
+ Deny from all
+</IfModule> \ No newline at end of file