[TYPO3-UG Italy] Realurl error
Stefano Garganigo
stefano.garganigo at gmail.com
Sat May 30 16:38:15 CEST 2009
Vorrei installare l'estnisone realurl, dopo aver seguito il tutorial mi
trovo questo errore:
Error!
Reason: Segment "115.0" was not a keyword for a postVarSet as expected
ecco la configurazione:
*setup:*
# RealURL
config.simulateStaticDocuments = 1
config.baseURL = http://www.sito.info
config.tx_realurl_enable = 1
*htaccess:*
##### BEGIN .htaccess ###############
RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
##### END .htaccess ###############
*realurl_conf.php*
<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['www.sito.info'] =
array(
'init' => array(
'enableCHashCache' => 1
),
'preVars' => array(
array(
'GETvar' => 'L',
'valueMap' => array(
'it' => '0',
'en' => '7',
'fr' => '2',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3,
'rootpage_id' => '1'
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => 1,
'index' => array(
'page.html' => array (
'keyValues' => array (
'type' => 71,
)
),
'_DEFAULT' => array (
'keyValues' => array (
)
),
),
),
'postVarSets' => array (
'_DEFAULT' => array (
'news' => array (
array(
'GETvar' => 'tx_ttnews[back_pid]',
'valueMap' => array(
'1' => 44,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'tx_ttnews[backPid]',
'valueMap' => array(
'1' => 44,
),
'noMatch' => 'bypass',
),
array (
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array (
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
),
),
),
),
),
);
dove sbaglio? grazie mille
--
Stefano Garganigo
More information about the TYPO3-UG-Italy
mailing list