Project

General

Profile

Actions

Bug #14410

closed

RealURL does not work, because TYPO3_SITE_URL value is wrong

Added by old_pneff almost 20 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2004-11-24
Due date:
% Done:

0%

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

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)


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #14856: TYPO3_SITE_URL is not set correctClosed2005-07-11

Actions
Related to TYPO3 Core - Bug #16335: t3lib_div::getIndpEnv('TYPO3_DOCUMENT_ROOT') delivers wrong value in BackendClosedSteffen Kamper2006-07-11

Actions
Related to TYPO3 Core - Bug #17878: mod_rewrite redirect to subdirectory + realurl = page not foundClosed2007-12-03

Actions
Actions

Also available in: Atom PDF