[TYPO3] Multiple sites, realurl --> page not found

Elijah Alcantara elijah.alcantara at gmail.com
Wed Apr 25 09:00:24 CEST 2007


Cool, that worked ... I was so used to developing single sites that I
failed to see this one.


Many Thanks! =)
Elijah A.

On 4/25/07, "Kitsunet (Christian Müller)" <christian at kitsunet.de> wrote:
> Did you include configuration with Starting Page IDs for both sites in
> your ext_localconf.php?
> This is very important for multiple Domain/Site RealURL.
>
> Look at this:
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>     'init' => array(
>         'enableUrlDecodeCache' => 0,
>         'enableUrlEncodeHash' => 0,
>         ),
>     'pagePath' => array(
>         'type' => 'user',
>         'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>         'spaceCharacter' => '_',
>         'languageGetVar' => 'L', // with two trees you don't really need
> this param
>         'expireDays' => 3,
>         'rootpage_id' => 1  // <= rootpage id of the first tree
> (www.yourdomain.de)
>         ),
>     'preVars' => array(
>         ....
>         ),
>     'fileName' => array (
>          ....
>         ),
>
>     'postVarSets' => array(
>          ....
>     );
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['www.yourdomain2.com'] =
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['www.yourdomain2.com']['pagePath']['rootpage_id']
> = 99;   //^^^ insert rootPageId of domain 2 here
>
> Regards,
> Christian
>
> Elijah Alcantara wrote:
> > Okay, I've finally setup a multiple site installation of 4.1.1 with
> > two sites and realurl enabled.
> >
> > The main problem is when realurl is enabled, somehow one of the site's
> > pages return a 404 page not found error and when I turn realurl off
> > everything works.
> >
> > I have put in aliases for the pages on the other site , cleared the
> > realurl cache, but still the same problem, any idea what other factors
> > could cause this?
> >
> >
> > Regards,
> > Elijah A.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


-- 
Elijah O. Alcantara
http://elijah.pinoguin.com


More information about the TYPO3-english mailing list