[TYPO3-german] Ein Root, mehrere Domains und Sprachen
g4-lisz at tonarchiv.ch
g4-lisz at tonarchiv.ch
Sat Jun 16 17:50:22 CEST 2012
An deiner Stelle würde ich mal mit einer auf's Minimum beschränkten
Konfiguration anfangen. Wenn die läuft, kannst Du dann schrittweise
immer mehr Features wie Postvars etc. einführen.
Hast Du die .htaccess für RealURL angepasst?
In Deiner Konfig sind defintiv ein paar Zeilen zuviel. Das hier ist
alles überflüßig:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['meineseite.com'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['meineseite.com']['pagePath']['rootpage_id'] = 1;
$TYPO3_CONF_VARS['EXTCONF']['realurl']['us.meineseite.com'] = $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['us.meineseite.com']['pagePath']['rootpage_id'] = 1;
Dafür ist die Anweisung
'useConfiguration' => '_DEFAULT',
zuständig
T
On 16.06.2012 17:31, TZP wrote:
> Dank dir für die Antwort. Hab das mal umgesetzt aber mir muss unterwegs was
> flöten gegangen sein...jetzt geht die Seite gar nicht mehr. ^^
>
> <?php
>
> $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(
> 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',
> ),
> ),
> 'postVarSets' => array(
> ),
> 'pagePath' => array(
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'languageGetVar' => 'L',
> 'expireDays' => 3,
> 'firstHitPathCache' => 1,
> 'rootpage_id' => 1
> ),
> 'fileName' => array (
> 'defaultToHTMLsuffixOnPrev' => true,
> 'index' => array (
> 'rss.xml' => array (
> 'keyValues' => array (
> 'type' => '100',
> ),
> ),
> 'rss091.xml' => array (
> 'keyValues' => array (
> 'type' => '101',
> ),
> ),
> 'rdf.xml' => array (
> 'keyValues' => array (
> 'type' => '102',
> ),
> ),
> 'atom.xml' => array (
> 'keyValues' => array (
> 'type' => '103',
> ),
> ),
> ),
> ),
> 'fixedPostVars' => array(),
> 'postVarSets' => array(
> '_DEFAULT' => array(
> // 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]',
> 'lookUpTable' => array(
> 'table' => 'tt_news_cat',
> 'id_field' => 'uid',
> 'alias_field' => 'title',
> 'addWhereClause' => ' AND NOT deleted',
> 'useUniqueCache' => 1,
> 'useUniqueCache_conf' => array(
> 'strtolower' => 1,
> 'spaceCharacter' => '-',
> ),
> ),
> ),
> ),
> // 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[backPid]',
> ),
> array(
> 'GETvar' => 'tx_ttnews[swords]',
> ),
> ),
> ),
>
> ),
>
> )
> );
>
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['meineseite.com'] =
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['meineseite.com']['pagePath']['rootpage_id']
> = 1;
>
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['us.meineseite.com'] =
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'];
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['us.meineseite.com']['pagePath']['rootpage_id']
> = 1;
>
> $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'
> ),
> )
> );
>
>
>
>
> ?>
More information about the TYPO3-german
mailing list