[TYPO3-german] Sprachumschaltung und RealUrl

Roland Behme rb at nugman.de
Mon May 8 11:13:58 CEST 2006


Hi Leute,

ich verzweifel gerade an einer (eigentlich simplen) Sprachumschaltung 
mit RealURL.
Die Umschaltung erfolgt nach alter Väter Sitte per preVar und 
funktioniert auch auf allen Seiten - außer auf der Homepage.
Wenn ich http://www.foo.bar/de oder http://www.foo.bar/en aufrufe, 
kriege ich eine Fehlermeldung: "Error. Reason: "de/" could not be found, 
closest page matching is".
http://www.foo.bar/de/produkte bzw. http://www.foo.bar/de/products 
funktioniert aber bestens. Hat jemand eine Idee?

Hier die Konfiguration für RealUrl:

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
   'init' => array(
    'enableCHashCache' => 0,
    'respectSimulateStaticURLs' => 'TRUE',
    'appendMissingSlash' => 'ifNotFile',
    'enableUrlDecodeCache' => 0,
    'enableUrlEncodeCache' => 0,
   ),

   'preVars' => array(
     array(
       'GETvar' => 'L',
       'valueMap' => array(
         'de' => 0,
         'en' => 1,
       ),
      'valueDefault' => 'de',
      'noMatch' => 'bypass'
     ),
     array(
       'GETvar' => 'no_cache',
       'valueMap' => array(
         'no_cache' => 1,
       ),
       'noMatch' => 'bypass'
     ),
   ),
   'pagePath' => array(
     'type' => 'user',
     'languageGetVar' => 'L',
     'rootpage_id' => 1,
     'userFunc' => 
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
     'spaceCharacter' => '-',
     'expireDays' => 1
   ),
);


Gruß,
   Roland



More information about the TYPO3-german mailing list