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 <[email protected]>
This commit is contained in:
frommeandClaude Opus 5.5 committed 2026-10-24 13:49:26 +02:00
1 parent d7374c697d
commit 9b90e32e6c
1 file changed
+5
+5
View File
@@ -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/<md5 of the package path>, 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]