Issue Bug Closed

#14410RealURL does not work, because TYPO3_SITE_URL value is wrong

old_pneff 11/24/04, 17:46 updated 12/24/12, 06:47

Description

I’m trying to get RealURL 0.2.0 working on a TYPO3 3.7.0 installation. Generating the links always worked fine, but whatever URL I browsed to, it always showed the main page.

So http://mysite/1/ showed the same page as for example http://mysite/5/ – the one you see when going on http://mysite/index.php directly.

Debugging the problem I found, that the function t3lib_div::getIndpEnv seems to return a wrong value for TYPO3_SITE_URL. It always returned the full URL I entered into the browser. So for the examples above it returned http://mysite/1/ and http//mysite/5/.

When I changed the function to return “http://mysite/” (hardcoded) it worked.

Is this indeed a bug or am I just too stupid to live on this planet and use TYPO3?

(issue imported from #M541)

Reviews 0

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