Bug #16677
closedmainScript ignored in conjunction with simulateStaticDocuments
0%
Description
Hello Typo3-Team!
If you set config.mainScript to something other than index.php and also use config.simulateStaticDocuments=PATH_INFO, the links generated by Typo3 look still like /index.php/foo. I expect /mymainscript.php/foo .
If you change
$LD['url'] = 'index.php/'.$LD['url'].'/?';
to
$LD['url'] = $script.'/'.$LD['url'].'/?';
in t3lib/class.t3lib_tstemplate.php it corrects the problem.
Best regards
Daniel Chabrol
(issue imported from #M4449)
Files
Updated by Alexander Opitz over 11 years ago
- Category deleted (
Communication) - Status changed from Accepted to Needs Feedback
- Target version deleted (
0) - PHP Version deleted (
4)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Chris topher over 11 years ago
- Status changed from Needs Feedback to Closed
TemplateService.php does no longer contain these lines, as they were extracted to the extension simulatestatic. This extension is no longer part of the TYPO3 Core, so that this issue, should it be present there, will not be fixed within the Core, but in the extension. Apart from that I think the extension is currently completely unmaintained.