From ff1b3774eebca29ed29bf68fc0c2819c7d00a587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manfred=20P=C3=BCrro?= Date: Sat, 31 Dec 2022 18:33:48 +0100 Subject: [PATCH] =?UTF-8?q?public=20gel=C3=B6scht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/.htaccess | 47 ------------------ public/assets/.gitignore | 4 -- public/assets/.htaccess | 35 -------------- public/assets/web.config | 101 --------------------------------------- public/favicon.ico | Bin 1406 -> 0 bytes public/index.php | 25 ---------- public/web.config | 30 ------------ 7 files changed, 242 deletions(-) delete mode 100755 public/.htaccess delete mode 100755 public/assets/.gitignore delete mode 100644 public/assets/.htaccess delete mode 100755 public/assets/web.config delete mode 100755 public/favicon.ico delete mode 100755 public/index.php delete mode 100755 public/web.config diff --git a/public/.htaccess b/public/.htaccess deleted file mode 100755 index 79ce982..0000000 --- a/public/.htaccess +++ /dev/null @@ -1,47 +0,0 @@ -### SILVERSTRIPE START ### - -# Deny access to templates (but allow from localhost) - - Require ip 127.0.0.1 - - -# Deny access to IIS configuration - - Require all denied - - -# Deny access to YAML configuration files which might include sensitive information - - Require all denied - - -# Route errors to static pages automatically generated by SilverStripe -ErrorDocument 404 /assets/error-404.html -ErrorDocument 500 /assets/error-500.html - - - - # Turn off index.php handling requests to the homepage fixes issue in apache >=2.4 - - DirectoryIndex disabled - DirectorySlash On - - - SetEnv HTTP_MOD_REWRITE On - RewriteEngine On - - # Enable HTTP Basic authentication workaround for PHP running in CGI mode - RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] - - # Deny access to potentially sensitive files and folders - RewriteRule ^vendor(/|$) - [F,L,NC] - RewriteRule ^\.env - [F,L,NC] - RewriteRule silverstripe-cache(/|$) - [F,L,NC] - RewriteRule composer\.(json|lock) - [F,L,NC] - RewriteRule (error|silverstripe|debug)\.log - [F,L,NC] - - # Process through SilverStripe if no file with the requested name exists. - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule .* index.php - -### SILVERSTRIPE END ### diff --git a/public/assets/.gitignore b/public/assets/.gitignore deleted file mode 100755 index 8c0dc7c..0000000 --- a/public/assets/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/**/* -!.gitignore -!.htaccess -!web.config diff --git a/public/assets/.htaccess b/public/assets/.htaccess deleted file mode 100644 index d515606..0000000 --- a/public/assets/.htaccess +++ /dev/null @@ -1,35 +0,0 @@ -# -# Whitelist appropriate assets files. -# This file is automatically generated via File.allowed_extensions configuration -# See AssetAdapter::renderTemplate() for reference. -# - -# We disable PHP via several methods -# Replace the handler with the default plaintext handler -AddHandler default-handler php phtml php3 php4 php5 inc - - - # Turn the PHP engine off - php_flag engine off - - - - - SetEnv HTTP_MOD_REWRITE On - - - RewriteEngine On - - # Allow error pages - RewriteCond %{REQUEST_FILENAME} -f - RewriteRule error[^\\/]*\.html$ - [L] - - # Allow specific file extensions - RewriteCond %{REQUEST_URI} !^[^.]*[^\/]*\.(?i:css|js|ace|arc|arj|asf|au|avi|bmp|bz2|cab|cda|csv|dmg|doc|docx|dotx|flv|gif|gpx|gz|hqx|ico|jpeg|jpg|kml|m4a|m4v|mid|midi|mkv|mov|mp3|mp4|mpa|mpeg|mpg|ogg|ogv|pages|pcx|pdf|png|pps|ppt|pptx|potx|ra|ram|rm|rtf|sit|sitx|tar|tgz|tif|tiff|txt|wav|webm|wma|wmv|xls|xlsx|xltx|zip|zipx|graphql|svg)$ - RewriteRule .* - [F] - - # Non existant files passed to requesthandler - RewriteCond %{REQUEST_URI} ^(.*)$ - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule .* ../index.php [QSA] - diff --git a/public/assets/web.config b/public/assets/web.config deleted file mode 100755 index 65b4b2d..0000000 --- a/public/assets/web.config +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100755 index 0d83aec1ee17b6ce4249c63b59c74c10bff154fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1406 zcmZQzU<5(|0R}M0U}azs1F|%L7$l?s#Ec9aKoZP=&}i)0rCtor?p|V;RqW32^ZQqZ zFYjM5)cc7u{P_BbVRoq}L#>Yp!=K;37;3x(8QLOL7(Ty$$?*UGe}+v{OBi;{t!KD( zW)H*0$%Q~QKN%W>q#5pAI>PYk(JhAdC^d$IEBhIy7q~EV#c2c8)-iO%XfT}EJcnU& zmNmofh0P2v9$aHMx_%nN=XWm|=9GCeeE;&1;p3ZU3`?4#8Di(5{}@_A6&U{h`3+S2fuSi_mf_0b4Gh13{b1NIseobKgj|L#Gb$La9pB0@ zHP?aR`Q6J58>bX8Ov$!o*gC653=`AM8TKvfLWIXCYcvE#VhHe|00t;e zg-2TnSwde|!^R9*Kwd*bgP$EN!fV0G$ETwxqM;!NWEfd%aq|dp@$oS+YiKa?@d*JH zYG^3x@bL+oXlSsqa%z~{s%uEFvI_GFYG_zkXlRJ?8L_fTXmHqCX|S=fYG_#M0gaOY zYcu8Jlhn{qR)88SEzHL!W~ZTHAPclu31lr0=ooCR4xRZT_{%7=Ln M#%*9EKhi;Z0Z%lL$p8QV diff --git a/public/index.php b/public/index.php deleted file mode 100755 index 5ee1af1..0000000 --- a/public/index.php +++ /dev/null @@ -1,25 +0,0 @@ -handle($request); -$response->output(); diff --git a/public/web.config b/public/web.config deleted file mode 100755 index 7651c15..0000000 --- a/public/web.config +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -