Issue Bug Closed

#16677mainScript ignored in conjunction with simulateStaticDocuments

Daniel Chabrol 10/30/06, 18:39 updated 05/03/13, 15:16

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)

Reviews 0

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