From 1cf0b3e024c70bef8c5026de96bda912c4ef91e1 Mon Sep 17 00:00:00 2001 From: ChrisWi Date: Sat, 19 Mar 2022 17:53:46 +0000 Subject: [PATCH] fix .htaccess files --- admin/backups/.htaccess | 15 +++++++++++++-- admin/export/.htaccess | 15 +++++++++++++-- admin/import/.htaccess | 15 +++++++++++++-- admin/tabs/.htaccess | 15 +++++++++++++-- classes/.htaccess | 15 +++++++++++++-- config/.htaccess | 15 +++++++++++++-- config/xml/.htaccess | 15 +++++++++++++-- docs/.htaccess | 14 +++++++++++++- docs/csv_import/.htaccess | 14 +++++++++++++- download/.htaccess | 15 +++++++++++++-- img/cms/.htaccess | 34 +++++++++++++++++++++++++++++++--- log/.htaccess | 15 +++++++++++++-- mails/.htaccess | 27 ++++++++++++++++++++++----- modules/.htaccess | 14 +++++++++++++- override/.htaccess | 15 +++++++++++++-- pdf/.htaccess | 16 ++++++++++++++-- themes/.htaccess | 16 ++++++++++++++-- tools/geoip/.htaccess | 15 +++++++++++++-- tools/htmlpurifier/.htaccess | 15 +++++++++++++-- tools/http_build_url/.htaccess | 15 +++++++++++++-- tools/js_minify/.htaccess | 15 +++++++++++++-- tools/minify_html/.htaccess | 15 +++++++++++++-- tools/mobile_Detect/.htaccess | 15 +++++++++++++-- tools/parser_sql/.htaccess | 15 +++++++++++++-- tools/pear/.htaccess | 15 +++++++++++++-- tools/profiling/.htaccess | 15 +++++++++++++-- tools/smarty/.htaccess | 15 +++++++++++++-- tools/swift/.htaccess | 15 +++++++++++++-- tools/tar/.htaccess | 15 +++++++++++++-- tools/tcpdf/.htaccess | 15 +++++++++++++-- tools/tcpdf/tools/.htaccess | 14 +++++++++++++- upload/.htaccess | 9 ++++++--- 32 files changed, 438 insertions(+), 65 deletions(-) diff --git a/admin/backups/.htaccess b/admin/backups/.htaccess index 93169e4eb..42aac8339 100644 --- a/admin/backups/.htaccess +++ b/admin/backups/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/admin/export/.htaccess b/admin/export/.htaccess index 93169e4eb..42aac8339 100644 --- a/admin/export/.htaccess +++ b/admin/export/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/admin/import/.htaccess b/admin/import/.htaccess index 93169e4eb..42aac8339 100644 --- a/admin/import/.htaccess +++ b/admin/import/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/admin/tabs/.htaccess b/admin/tabs/.htaccess index 93169e4eb..42aac8339 100644 --- a/admin/tabs/.htaccess +++ b/admin/tabs/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/classes/.htaccess b/classes/.htaccess index 93169e4eb..42aac8339 100644 --- a/classes/.htaccess +++ b/classes/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/config/.htaccess b/config/.htaccess index 93169e4eb..42aac8339 100644 --- a/config/.htaccess +++ b/config/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/config/xml/.htaccess b/config/xml/.htaccess index 93169e4eb..42aac8339 100644 --- a/config/xml/.htaccess +++ b/config/xml/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/docs/.htaccess b/docs/.htaccess index 8703119f9..42aac8339 100644 --- a/docs/.htaccess +++ b/docs/.htaccess @@ -1 +1,13 @@ -Deny from ALL + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/docs/csv_import/.htaccess b/docs/csv_import/.htaccess index 18aba5838..2d697e3a7 100644 --- a/docs/csv_import/.htaccess +++ b/docs/csv_import/.htaccess @@ -1 +1,13 @@ -Allow from ALL \ No newline at end of file + + Order allow,deny + Allow from all + += 2.4> + + Require all granted + + + Order allow,deny + Allow from all + + diff --git a/download/.htaccess b/download/.htaccess index 93169e4eb..42aac8339 100644 --- a/download/.htaccess +++ b/download/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/img/cms/.htaccess b/img/cms/.htaccess index 91920ed0a..8443951a7 100644 --- a/img/cms/.htaccess +++ b/img/cms/.htaccess @@ -1,8 +1,36 @@ php_flag engine off -deny from all + + php_flag engine off + + + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + + - order deny,allow - allow from all + + Order allow,deny + Allow from all + + = 2.4> + + Require all granted + + + Order allow,deny + Allow from all + + diff --git a/log/.htaccess b/log/.htaccess index 93169e4eb..42aac8339 100644 --- a/log/.htaccess +++ b/log/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/mails/.htaccess b/mails/.htaccess index 45feba9cf..42c67e5b6 100644 --- a/mails/.htaccess +++ b/mails/.htaccess @@ -1,5 +1,22 @@ -Order deny,allow -Deny from all - -Allow from all - + + Order deny,allow + Deny from all + + Allow from all + + += 2.4> + + Require all denied + + Require all granted + + + + Order deny,allow + Deny from all + + Allow from all + + + diff --git a/modules/.htaccess b/modules/.htaccess index d6fd8d12b..ef959b526 100644 --- a/modules/.htaccess +++ b/modules/.htaccess @@ -1,3 +1,15 @@ -Deny from all + + Order deny,allow + Deny from all + + = 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/override/.htaccess b/override/.htaccess index 896fbc5a3..42aac8339 100644 --- a/override/.htaccess +++ b/override/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all \ No newline at end of file + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/pdf/.htaccess b/pdf/.htaccess index 3caa91589..ef959b526 100644 --- a/pdf/.htaccess +++ b/pdf/.htaccess @@ -1,3 +1,15 @@ -Deny from all - \ No newline at end of file + + Order deny,allow + Deny from all + + = 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + + diff --git a/themes/.htaccess b/themes/.htaccess index 3caa91589..ef959b526 100644 --- a/themes/.htaccess +++ b/themes/.htaccess @@ -1,3 +1,15 @@ -Deny from all - \ No newline at end of file + + Order deny,allow + Deny from all + + = 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + + diff --git a/tools/geoip/.htaccess b/tools/geoip/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/geoip/.htaccess +++ b/tools/geoip/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/htmlpurifier/.htaccess b/tools/htmlpurifier/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/htmlpurifier/.htaccess +++ b/tools/htmlpurifier/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/http_build_url/.htaccess b/tools/http_build_url/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/http_build_url/.htaccess +++ b/tools/http_build_url/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/js_minify/.htaccess b/tools/js_minify/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/js_minify/.htaccess +++ b/tools/js_minify/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/minify_html/.htaccess b/tools/minify_html/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/minify_html/.htaccess +++ b/tools/minify_html/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/mobile_Detect/.htaccess b/tools/mobile_Detect/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/mobile_Detect/.htaccess +++ b/tools/mobile_Detect/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/parser_sql/.htaccess b/tools/parser_sql/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/parser_sql/.htaccess +++ b/tools/parser_sql/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/pear/.htaccess b/tools/pear/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/pear/.htaccess +++ b/tools/pear/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/profiling/.htaccess b/tools/profiling/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/profiling/.htaccess +++ b/tools/profiling/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/smarty/.htaccess b/tools/smarty/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/smarty/.htaccess +++ b/tools/smarty/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/swift/.htaccess b/tools/swift/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/swift/.htaccess +++ b/tools/swift/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/tar/.htaccess b/tools/tar/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/tar/.htaccess +++ b/tools/tar/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/tcpdf/.htaccess b/tools/tcpdf/.htaccess index 93169e4eb..42aac8339 100644 --- a/tools/tcpdf/.htaccess +++ b/tools/tcpdf/.htaccess @@ -1,2 +1,13 @@ -Order deny,allow -Deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/tools/tcpdf/tools/.htaccess b/tools/tcpdf/tools/.htaccess index 8d2f25636..42aac8339 100644 --- a/tools/tcpdf/tools/.htaccess +++ b/tools/tcpdf/tools/.htaccess @@ -1 +1,13 @@ -deny from all + + Order deny,allow + Deny from all + += 2.4> + + Require all denied + + + Order deny,allow + Deny from all + + diff --git a/upload/.htaccess b/upload/.htaccess index 33b4fbec0..436e90fa3 100644 --- a/upload/.htaccess +++ b/upload/.htaccess @@ -1,7 +1,10 @@ - RemoveHandler .php .phtml .php3 .php4 .php5 - RemoveType .php .phtml .php3 .php4 .php5 + RemoveHandler .php .phtml .php7 .php8 + RemoveType .php .phtml .php7 .php8 - + + php_flag engine off + + php_flag engine off