From 9b90e32e6c47f0cb780a341b4c86af925d2e3a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Sat, 24 Oct 2026 13:49:26 +0200 Subject: [PATCH] fix: public resources answer under their TYPO3 10 path /typo3conf/ext/ep_theme|ep_products/Resources/Public/... is rewritten to the _assets folder Composer publishes them to: the favicons and the schema.org logo use that path, and so do links from outside. Today the static docroots carry copies; after the vhost switch it would be 404. Co-Authored-By: Claude Opus 5.5 --- public/.htaccess | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index 3610509..46e9ed3 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -343,6 +343,11 @@ AddDefaultCharset utf-8 RewriteCond %{SCRIPT_FILENAME} -f RewriteRule (?:^|/)\. - [F] + # Public resources under their TYPO3 10 path (favicons, schema.org logo, links from outside): + # served from _assets/, the folder Composer publishes them to + RewriteRule ^typo3conf/ext/ep_theme/Resources/Public/(.*)$ _assets/e65e2fc504b80db1d8df84dbff13c1bd/$1 [L] + RewriteRule ^typo3conf/ext/ep_products/Resources/Public/(.*)$ _assets/99be5e4433f581fcac0e17ea6609211e/$1 [L] + # Stop rewrite processing, if we are in any known directory # NOTE: Add your additional local storages here RewriteRule ^(?:fileadmin/|typo3conf/|typo3temp/|uploads/) - [L]