Project

General

Profile

Actions

Bug #17009

closed

default .htaccess file does not rewrite correctly

Added by Lukas Rueegg about 17 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2007-02-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #23173: Code for rewrite rules for .htaccess cannot be formatted (but would have to be!)ClosedErnesto Baschny2010-07-14

Actions
Related to TYPO3 Core - Bug #23799: Add IfModule mod_rewrite.c to misc/advanced.htaccessClosedErnesto Baschny2010-10-20

Actions
Actions

Also available in: Atom PDF