PHP код:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
//Hash-Parameter verbergen
//Aktiviert cHash. Das ist f?r manche Erweiterungen, die du m?glicherweise benutzt, notwendig.
'enableCHashCache' => 1,
//Diese Einstellung macht es m?glich, das alte simulateStatic Definition mit dem
//Alias erkannt und zugelassen werden. Wenn man eine Seite in Form impressum.html aufruft,
//wird das richtig angezeigt, genauso wie impressum/
//'respectSimulateStaticURLs' => 'TRUE',
//Workaround fuer alte Extensions
'appendMissingSlash' => 'ifNotFile',
//Fehler-Behandlung
//'postVarSet_failureMode' => 'redirect_goodUpperDir',
//Aktiviert URL Caching
'enableUrlDecodeCache' => 0,
'enableUrlEncodeCache' => 0,
'respectSimulateStaticURLs' => 0,
//'postVarSet_failureMode'=>'redirect_goodUpperDir',
),
'pagePath' => array(
//Seiten-ID in Pfad+Seiten-Titel aufloesen
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 1,
'rootpage_id' => 1,
'disablePathCache' => 0,
'excludePageIds' => null,
),
/*'redirects' => array(
),*/
'preVars' => array(
array(
//Cach-Parameter ausfiltern
'GETvar' => 'no_cache',
'valueMap' => array(
'dynamic' => 1,
),
'noMatch' => 'bypass',
),
/*
array(
'GETvar' => 'type',
'valueMap' => array(
'print' => '98',
//'pdf' => '123',
),
'noMatch' => 'bypass',
),*/
),
'fixedPostVars' => array(),
'postVarSets' => array(
'_DEFAULT' => array (
'browse' => array(
//Pointer beim Seiten-Blaettern umwandeln
array(
'GETvar' => 'tx_ttipcshop[pointer]',
),
),
'user' => array(
array(
'GETvar' => 'tx_srfeuserregister_pi1[regHash]'
),
),
'srfeuser' => array(
array(
'GETvar' => 'tx_srfeuserregister_pi1[cmd]'
),
array(
'GETvar' => 'tx_srfeuserregister_pi1[pointer]'
),
array(
'GETvar' => 'tx_srfeuserregister_pi1[mode]'
),
array(
'GETvar' => 'tx_srfeuserregister_pi1[sword]'
),
array(
'GETvar' => 'tx_srfeuserregister_pi1[sort]'
)
),
// product categories
/*
'select_category' => array (
array(
'GETvar' => 'tx_ttipcshop[cat]',
),
),
*/
'select' => array (
array(
'GETvar' => 'tx_ttipcshop[cat]',
'lookUpTable' => array(
'table' => 'tt_ipcshop_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
),
),
),
),
/*'partner' => array(
array(
'GETvar' => 'tx_ttipcshop[partner]',
//'noMatch' => 'bypass',
),
),
'actionscode' => array(
array(
'GETvar' => 'tx_ttipcshop[aktionscode]',
//'noMatch' => 'bypass',
),
),*/
'product' => array(
//Seiten-Titel des Referrers ausgeben
array(
'GETvar' => 'tx_ttipcshop[backPid]',
'lookUpTable' => array(
'table' => 'pages',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => 'and not deleted and not hidden',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => "-",
),
),
),
//Produkt-Titel ermitteln
array(
'GETvar' => 'tx_ttipcshop[tt_ipcshop]',
'lookUpTable' => array(
'table' => 'tt_ipcshop',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => 'and not deleted and not hidden',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => "-",
//'encodeTitle_userProc' => 'EXT:ipc_shop/inc/tx_realurl_isbn_userProc.php:&tx_realurl_isbn->main',
//EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main
),
),
),
/*array(
'GETvar' => 'tx_ttipcshop[backPid]',
//'noMatch' => 'bypass',
),*/
array(
'GETvar' => 'tx_ttipcshop[swords]',
//'noMatch' => 'bypass',
),
),
/*'result' => array(
//Suche-Begriff eingliedern
array(
'GETvar' => 'tx_ttipcshop[swords]',
),
),*/
),
),
'fileName' => array(
/*'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
//'page.html' => array(
// 'keyValues' => array (
// 'type' => 1,
// ),
//),
'print.html' => array(
'keyValues' => array(
'type' => 98,
)
),
),*/
'index' => array(
'index.html' => array(
'keyValues' => array(
'type' => 0,
)
),
'print.html' => array(
'keyValues' => array(
'type' => 98,
)
),
'rss.html' => array(
'keyValues' => array(
'type' => 100,
)
),
'_DEFAULT' => array(
'keyValues' => array()
)
),
'defaultToHTMLsuffixOnPrev' => 1,
)
);
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['enableDomainLookup'] = 1;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['vertrieb2.hqmedia.de'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['vertrieb2.hqmedia.de']['pagePath']['rootpage_id'] = 386;
//$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.vertrieb2.hqmedia.de'] =$TYPO3_CONF_VARS['EXTCONF']['realurl']['vertrieb2.hqmedia.de'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['hqmedia2.usm.de'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['hqmedia2.usm.de']['pagePath']['rootpage_id'] = 6;
//$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.hqmedia2.usm.de'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['hqmedia2.usm.de'];