Bug #16658

Wrong information in _.htaccess for httpd.conf configuration

Added by Marc Bastian Heinrichs over 6 years ago. Updated about 1 month ago.

Status:Closed Start date:2006-10-19
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.5 Complexity:
PHP Version:5.2
Votes: 0

Description

The RewriteRule for httpd.conf (around line 95) has "/TYPO3root" at the beginning. This is wrong.

Instead it should be the same as the rule for use in .htaccess (line 60):
RewriteRule ^(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L]

Sorry, found no correct project category for this bug.
(issue imported from #M4414)


Related issues

related to Core - Bug #25191: .htaccess contains uneccesary rewrite rules Needs Feedback 2011-02-27

History

Updated by Marc Bastian Heinrichs over 6 years ago

Because the RewriteRule checks the URL-path and not the complete server-path.

for line 69/70
  1. For httpd.conf, use this line instead of the next one:
  2. RewriteRule ^/TYPO3root/typo3$ /TYPO3root/typo3/index.php [L]

it's the same. The two extra rules for httpd.conf could be deleted.

Updated by Marc Bastian Heinrichs over 6 years ago

Hi Michael,

saw you fixed another in .htaccess. Perhaps this is also one for you and v4.1?

greets
Marc Bastian

Updated by Markus Klein over 1 year ago

  • Target version deleted (0)

Is this still an issue?

Updated by Stefan Galinski over 1 year ago

The line is still there, so this should be valid.

Updated by Alexander Opitz about 1 month ago

  • Status changed from New to Closed

This lines are commented out. They are hints, what you need to use, if you configure your TYPO3 CMS in the apache httpd.conf, then you have to replace "/TYPO3root" with the path to the root of your TYPO3 CMS installation.

Also available in: Atom PDF