[TYPO3-german] Ein Root, mehrere Domains und Sprachen
    TZP 
    Teilzeitphilosoph at gmx.de
       
    Sat Jun 16 18:23:31 CEST 2012
    
    
  
Das verwundert mich auch ein wenig, entschuldige. 
So, ein Schritt weiter. Momentan sieht es so aus:
Hab mal das wesentliche Zeugs dringelassen.
<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DOMAINS'] = array(
	'encode' => array(
		array(
			'GETvar' => 'L',
			'value' => '0',
			'useConfiguration' => '_DEFAULT',
			'urlPrepend' => 'http://meineseite.com'
		),
		array(
			'GETvar' => 'L',
			'value' => '8',
			'useConfiguration' => '_DEFAULT',
			'urlPrepend' => 'http://us.meineseite.com'
		),
	),
	'decode' => array(
		'meineseite.com' => array(
			'GETvars' => array(
				'L' => '0',
			),
			'useConfiguration' => '_DEFAULT'
		),
		'us.meineseite.com' => array(
			'GETvars' => array(
				'L' => '8',
			),
			'useConfiguration' => '_DEFAULT'
		),
	),
); 
$TYPO3_CONF_VARS['EXTCONF']['realurl'] =
array(
    '_DEFAULT' => array(
			'fileName' => array(
				'acceptHTMLsuffix' => '.php'
			),
			'init' => array(
            'enableCHashCache' => 1,
            'appendMissingSlash' => 'ifNotFile',
            'enableUrlDecodeCache' => 1,
            'enableUrlEncodeCache' => 1,
        ),
        'redirects' => array(),
        'preVars' => array(
            '0' => array(
                'GETvar' => 'L',
                'valueMap' => array(
                    'en' => '0',
                    'de' => '1',
                    'fr' => '2',
                    'nl' => '3',
                    'pl' => '4',
                    'es' => '5',
                    'qa' => '6',
                    'ru' => '7',
               /*     'us' => '8',
                    'la' => '9',
                    'au' => '10',*/
                    'it' => '11'
                ),
                'noMatch' => 'bypass',
            ),
			'8' => array(
                'GETvar' => 'L',
                'valueMap' => array(
               /*     'en' => '0',
                    'de' => '1',
                    'fr' => '2',
                    'nl' => '3',
                    'pl' => '4',
                    'es' => '5',
                    'qa' => '6',
                    'ru' => '7',*/
                    'us' => '8',
                    'la' => '9',
                    'au' => '10',
                    'it' => '11'
                ),
                'noMatch' => 'bypass',
            ),
        ),
		...
		...
		...
    )
);
?> 
Es hat sich auch im Frontend was getan. Alle Links laufen super wie immer.
Nur der für US zeigt nicht mehr
meineseite.com/us/
und leider auch nicht
us.meineseite.com
sondern nur noch
meineseite.com
-- 
View this message in context: http://old.nabble.com/Ein-Root%2C-mehrere-Domains-und-Sprachen-tp34023021p34023269.html
Sent from the TYPO3 German mailing list archive at Nabble.com.
    
    
More information about the TYPO3-german
mailing list