[Typo3] Redirecting to a domain

"Jesús H." cy at ya.com
Fri Nov 4 11:46:40 CET 2005


Hi Thomas,

I think this is completely normal. If you are calling the domainname 
test.mydomain.com/?id=5 (which has a domain record) this will be like 
"chrooted" to that tree and will never go out of it.

As I understand you want to block people sitting in www.mydomain.com to 
reach id=5 for example... the way to do this is to assign as well a 
domain record to id=1 tree. So then everybody accessing with that 
domainname will be jailed into that tree as well.

Best regards,

Jesús Hormigo

Thomas Hempel wrote:
> Hi,
> 
> I have a (hopefully) small problem and I have no clue how a solution can 
> look like.
> 
> I have two sites inside a single TYPO3 installation. One of them is 
> separated by a domain record which works very well. The problem that I 
> have is, that I want to avoid that people can enter the "normal" domain 
> with an ID to reach the "domain tree". An example:
> 
> [1] root 1 (www.mydomain.com)
>    [2] page
>    [3] page
>    [4] page
> [5] root 2 (with a domain record for test.mydomain.com)
>    [6] page
>    [7] page
>    [8] page
> 
> The problem is, if the user enters an url like 
> www.mydomain.com/index.php?id=5 the domain is not switched (redirected) 
> to test.mydomain.com.
> 
> Is there a solution for this or what would be the most elegant way to 
> solve that?
> 
> 
> Greets,
> Thomas
> 
> 



More information about the TYPO3-english mailing list