Issue Bug Closed

#16917.htaccess does rewrite of favicon.ico

Stefan Geith 01/29/07, 17:21 updated 03/13/07, 15:26

Description

The sample .htaccess does rewrite favicon.ico when using the default rules.
Solution: Add following line to _.htaccess:
RewriteRule ^favicon.ico – [L]

This gives unpredictable result, when you use Safari as a browser, because Safari allways calls favicon.ico after loading the page.
I had this problem (initiating many hours for searching the bug …):
- I set a session variable to getIndpEnv (‘TYPO3_REQUEST_URL’)
- The plugin that sets this session variable is also placed on the homepage
- Because Safari calls favicon.ico after the call to index.php … I always got magically changed values in session data. This is, because favicon.ico is rewritten to index.php …
- Debug-output doesn’t help, because its not shown for favicon.ico

Beside of this situation, I think it is a bug to rewire favicon.ico to index.php …
Right ?
(issue imported from #M4883)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.