Project

General

Profile

Actions

Bug #16529

closed

externalUrl needs double click if not from baseURL domain

Added by Axel Jindra over 17 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2006-09-05
Due date:
% Done:

0%

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

Description

If you click on a externalURL type page entry in your FE, you'll have to click twice to get to the external Page, the first click opens an empty page.
This only happens, if you have more than one domain record for your site and if you try to follow the external Link from a page with a domain different from that set in config.baseURL

example:
config.baseURL = domainA.tld

current Page: domainB.tld/bar.html, click on "foo" link -> empty page, now domainA.tld/foo.html, click on "foo" again -> external page

current Page: domainA.tld/bar.html, click on "foo" -> external page

may be checked here:

http://www.aqs.rlp.de, click on "Zugänge für Schulen" in the right menu -> you'll have to click twice to get out

http://aqs.rlp.de, click on the same link -> get out at once

"aqs.rlp.de" is set as baseURL, "www.aqs.rlp.de" another domain record
(issue imported from #M4158)

Actions #1

Updated by Andreas Wolf over 17 years ago

As far as I see, the problem may easily be solved by using a RewriteRule to redirect all requests for www.aqs.rlp.de to aqs.rlp.de. This requires the Apache webserver.

I'm not 100% sure, but I think the rule must look like this:

RewriteCond %{HTTP_HOST} !^aqs.rlp.de [NC]
RewriteRule ^/(.*) http://aqs.rlp.de/$1 [L,R]

(taken from http://httpd.apache.org/docs/2.0/misc/rewriteguide.html and slightly modified)

Actions #2

Updated by Axel Jindra over 17 years ago

Though a RewriteRule may be a workaround for those using Apache it's IMHO not the way TYPO3 should handle externalURL jumps.

Actions #3

Updated by Andreas Wolf over 17 years ago

You are right, but this is a quick-and-dirty solution to fix your problem.

I will probably have a look at this later on, or tomorrow.

Actions #4

Updated by Rob Vonk about 15 years ago

Tried it in trunc and can't reproduce.

Actions #5

Updated by Christian Kuhn almost 15 years ago

Resolved, unable to reproduce.

Please reopen if this issue still exists in current versions.

Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF