Hi
I am just came over a strange problem. Perhaps I can't see the solution as I worked more with cooluri in the last years. With cooluri it is working but WEC is using RealUrl and therefore for a training it should work with realurl too.
As you can see we created a new site A above the ROOT B ahich is the original WEC Site
We copied the template from PID 61 to ROOT B and assigned a new Site template and Marked this page as ROOT also in Edit Page Header. PID 31 is assigned as GRSP.
Everything works fine but the site A gets called with index.php instead of using REALURL and subpages get redirected to the notfound page of A as they show index.
As WEC is now using the autoconfiguration feature I could change the ROOT PID in the autoconfiguration file - I won't like to do this as it would make "auto"configuration absurd! (auto-manual-configuration)
I could also start adding again code into localconf.php like:
With cooluri I would only create another domain record and check the multidomain ability that's it. But how can I now get this working in RealURL without as autoconfig.
Perhaps (haven't tested) the problem would even exist if I replace the ROOT B PID 61 by another Page to be ROOT B. How does autoconfig change this change also in the autoconfi file??
Thanks a lot
Andi
I am just came over a strange problem. Perhaps I can't see the solution as I worked more with cooluri in the last years. With cooluri it is working but WEC is using RealUrl and therefore for a training it should work with realurl too.
- ROOT A1
------ Page A1
------ Page A2
----------- Page A2.1
------ Page A3
- ROOT B (This is actually the original WEC Site PID 61)
------ Page B1
------ Page B2
----------- Page B2.1
------ Page B3
- GRSP (PID 31)
------ Page A1
------ Page A2
----------- Page A2.1
------ Page A3
- ROOT B (This is actually the original WEC Site PID 61)
------ Page B1
------ Page B2
----------- Page B2.1
------ Page B3
- GRSP (PID 31)
As you can see we created a new site A above the ROOT B ahich is the original WEC Site
We copied the template from PID 61 to ROOT B and assigned a new Site template and Marked this page as ROOT also in Edit Page Header. PID 31 is assigned as GRSP.
Everything works fine but the site A gets called with index.php instead of using REALURL and subpages get redirected to the notfound page of A as they show index.
As WEC is now using the autoconfiguration feature I could change the ROOT PID in the autoconfiguration file - I won't like to do this as it would make "auto"configuration absurd! (auto-manual-configuration)
I could also start adding again code into localconf.php like:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['enableDomainLookup'] = 1;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainA.com'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainA.com']['pagePath']['rootpage_id'] = 80;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainB.com'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainB.com']['pagePath']['rootpage_id'] = 61;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainA.com'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainA.com']['pagePath']['rootpage_id'] = 80;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainB.com'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.domainB.com']['pagePath']['rootpage_id'] = 61;
With cooluri I would only create another domain record and check the multidomain ability that's it. But how can I now get this working in RealURL without as autoconfig.
Perhaps (haven't tested) the problem would even exist if I replace the ROOT B PID 61 by another Page to be ROOT B. How does autoconfig change this change also in the autoconfi file??
Thanks a lot
Andi



aim