Issue Bug Closed

#17009default .htaccess file does not rewrite correctly

Lukas Rueegg 02/19/07, 11:21 updated 10/02/18, 12:31

Description

the following line in the default .htaccess file doesn’t rewrite correctly on the files ‘showpic.php’ and ‘favicon.ico’ because of the implicit ‘/’ at the end of the line:

RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php|favicon\.ico)/ – [L]

it should be corrected by either adding a ‘?’ after the slash to make the slash optional or by separating calls to directories and files on two different rewrite rules.

if making a GET request to /favicon.ico, the file is still redirected to index.php because it doesn’t match the rewrite rule which requires a trailing slash.
(issue imported from #M5020)

Reviews 0

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