[TYPO3-german] realurl mit mehreren Domain

Rafael Freuler rafi at rafi.ws
Fri Feb 3 10:26:49 CET 2006


Hallo

Ich habe zwei Domains in der gleichen TYPO3 Installation.
Beide Domains haben auf der gleichen Ebene Seiten wie Kontakt, Suche u.ä.

Mit meiner realURL Konfiguration funktionieren immer nur die Links der 
einen Domain, nämlich die bei der ich zuerst auf das Link klicke.

Unten meine realURL Konfiguration.

Was mache ich falsch?

Danke und Grüsse,
Rafi

// realurl configruation
$TYPO3_CONF_VARS['EXTCONF']['realurl']['philhist.unibas.ch'] = array(
     'init' => array(
		'enableCHashCache' => 1,
		'appendMissingSlash' => 'ifNotFile',
		'enableUrlDecodeCache' => 1,
		'enableUrlEncodeCache' => 1,
	),
	
	'pagePath' => array(
		'type' => 'user',
		'userFunc' => 
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
		'spaceCharacter' => '-',
		'languageGetVar' => 'L',
		'expireDays' => 3,
		'rootpage_id' => 1,
	),
	'redirects' => array(),
	'fileName' => array (
         'index' => array(
             'print' => array(
                 'keyValues' => array(
                     'type' => 98,
                 )
             ),
         ),
     ),
	'preVars' => array(
		array(
			'GETvar' => 'no_cache',
			'valueMap' => array(
				'nc' => 1,
			),
			'noMatch' => 'bypass',
		),
		array(
			'GETvar' => 'type',
			'valueMap' => array(
				'print' => 98,
				'chooser' => 7645,
				'pdf' => 4444,
			),
			'noMatch' => 'bypass',
		),
		array(
			'GETvar' => 'L',
			'valueMap' => array(
				'dk' => '2',
				'de' => '1',
			),
			'noMatch' => 'bypass',
		),
	),
	'fixedPostVars' => array(),
	'postVarSets' => array(
		'_DEFAULT' => array (
			
			// personen-db
			'person' => array(
          		array(
					'GETvar' => 'tx_listfeuseruni_pi1[showUid]',
					'lookUpTable' => array(
						'table' => 'fe_users',
						'id_field' => 'uid',
						'alias_field' => 'name',
						'addWhereClause' => ' AND NOT deleted',
						'useUniqueCache' => 1,
						'useUniqueCache_conf' => array(
							'strtolower' => 1,
							'spaceCharacter' => '-',
						),
					),
				),
			),
			/*
			'perssearch' => array(
				array(
					'GETvar' => 'tx_listfeuseruni_pi[sword]',
				),
			),
			*/
			// Projektdetails
			'projekt' => array(
				array(
					'GETvar' => 'tx_x4euniprojects_pi1[showUid]',
				),
			),
			
			// Qualifikationsarbeit Details
			'arbeit' => array(
				array(
					'GETvar' => 'tx_x4equalification_pi1[showUid]',
				),
			),
			
			// news archive parameters
			'archive' => array(
				array(
					'GETvar' => 'tx_ttnews[year]' ,
					),
				array(
					'GETvar' => 'tx_ttnews[month]' ,
					'valueMap' => array(
						'january' => '01',
						'february' => '02',
						'march' => '03',
						'april' => '04',
						'may' => '05',
						'june' => '06',
						'july' => '07',
						'august' => '08',
						'september' => '09',
						'october' => '10',
						'november' => '11',
						'december' => '12',
					)
				),
			),
			
			// news pagebrowser
			'browse' => array(
				array(
					'GETvar' => 'tx_ttnews[pointer]',
				),
			),
			
			// news categories
			'select_category' => array (
				array(
					'GETvar' => 'tx_ttnews[cat]',
				),
			),
			
			// news articles and searchwords
			'article' => array(
				array(
					'GETvar' => 'tx_ttnews[tt_news]',
					'lookUpTable' => array(
						'table' => 'tt_news',
						'id_field' => 'uid',
						'alias_field' => 'title',
						'addWhereClause' => ' AND NOT deleted',
						'useUniqueCache' => 1,
						'useUniqueCache_conf' => array(
							'strtolower' => 1,
							'spaceCharacter' => '-',
						),
					),
				),
				array(
					'GETvar' => 'tx_ttnews[swords]',
				),
				array(
					'GETvar' => 'tx_ttnews[pS]',
				),
			),
			
						
			
		),
		
		
	),
);
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.philhist.unibas.ch'] = 
$TYPO3_CONF_VARS['EXTCONF']['realurl']['philhist.unibas.ch'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['histsem.unibas.ch'] = 
$TYPO3_CONF_VARS['EXTCONF']['realurl']['philhist.unibas.ch'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['histsem.unibas.ch']['pagePath']['rootpage_id'] 
= 144;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.histsem.unibas.ch'] = 
$TYPO3_CONF_VARS['EXTCONF']['realurl']['philhist.unibas.ch'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.histsem.unibas.ch']['pagePath']['rootpage_id'] 
= 144;



More information about the TYPO3-german mailing list