commit bae630911a1b12f4e465f480c040b6b5b26d70fb
parent e4e112490125c80d1a46e7d461a255f0eb6f09ca
Author: Jan Dankert <develop@jandankert.de>
Date: Sat, 24 Oct 2020 00:24:29 +0200
New: only 1 .htaccess file which disables the access to .yml (configuration files), .log (logfiles), .class.php (PHP classes).
Diffstat:
7 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/.htaccess b/.htaccess
@@ -0,0 +1,3 @@
+<Files ~ "\.(yml|log|class.php)$">
+ Require all denied
+</Files>+
\ No newline at end of file
diff --git a/config/.htaccess b/config/.htaccess
@@ -1,2 +0,0 @@
-Order deny,allow
-deny from all
diff --git a/modules/cms/action/.htaccess b/modules/cms/action/.htaccess
@@ -1,2 +0,0 @@
-order deny,allow
-deny from all-
\ No newline at end of file
diff --git a/modules/cms/model/.htaccess b/modules/cms/model/.htaccess
@@ -1,2 +0,0 @@
-order deny,allow
-deny from all-
\ No newline at end of file
diff --git a/modules/cms/update/.htaccess b/modules/cms/update/.htaccess
@@ -1,2 +0,0 @@
-order deny,allow
-deny from all-
\ No newline at end of file
diff --git a/modules/language/.htaccess b/modules/language/.htaccess
@@ -1,3 +0,0 @@
-# $Id: $
-order deny,allow
-deny from all-
\ No newline at end of file
diff --git a/modules/util/.htaccess b/modules/util/.htaccess
@@ -1,2 +0,0 @@
-# order deny,allow
-# deny from all-
\ No newline at end of file