Bug #86927
closedSite management multidomains and multilanguage gives wrong base url
0%
Description
Hi folks,
i have 2 rootpages in my typo3 installation and each rootpage has been configured in "site management" for two languages: german as default and english (id=1).
For the first rootpage(id=1) with domain: domain1.tld, i've defined the entry point for german as "/" and for english "/en/"
For the second rootpage with domain: domain2.tld, i've defined the entry point for german as "/" and for english "/en/". Basically the same as for rootpage id=1.
Now trying to view the startpage for id=2 in my development Application Context results of showing the page id=1. I've finally found that it only works, if i change the entry points for rootpage id=2 and enter the full url of domain. Now i have in the second rootpage as entry point for german "http://dev.domain2.tld/" and for english "http://dev.domain2.tld/en/".
I think my first configuration should have work without the full url as entry point. So is this a bug?
Files
Updated by Pierre N. about 6 years ago
i've found why this was an issue.
in my .htaccess, i've only defined:
RewriteCond %{HTTP_HOST} ^dev\.domain1\.tld$
RewriteRule .? - [E=TYPO3_CONTEXT:Development]
RewriteCond %{HTTP_HOST} ^www\.domain1\.tld$
RewriteRule .? - [E=TYPO3_CONTEXT:Production]
so trying to open dev.domain2.tld, the page landed in the Production context since it has no specific Application context defined.
Topic can be closed.