[TYPO3] realURL - every page redirects to front page
Brian Bendtsen
bb at bellevuevej.dk
Mon Jul 14 15:20:15 CEST 2008
Dmitry Dulepov [typo3] skrev:
> Hi!
>
> Brian Bendtsen wrote:
>> I have some problems with realUrl. No matter what menu item the user
>> clicks on, she is redirected to the front page. What can cause this
>> problem?
>>
>> A little info about installation:
>>
>> Typo3 version 4.1.5
>> realUrl version 1.1.4
>> Server platform - windows with isapi rewrite
>
> Too little info. May be all your links just point to the front page, who
> knows...
>
I know - and they dont - the navigation works fine when realUrl is
deactivated.
I just updated to realUrl version 1.4 but the problem still exist
Here is the realUrl config:
$TYPO3_CONF_VARS['SYS']['requestURIvar'] = '_SERVER|HTTP_X_REWRITE_URL';
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'doNotRawUrlEncodeParameterNames' => 1,
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'adminJumpToBackend' => 1,
),
'redirects' => array(),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '_',
'expireDays' => 7,
'rootpage_id' => 1,
'dontResolveShortcuts' => 0,
'segTitleFieldList' => 'alias,nav_title,title',
),
'fixedPostVars' => array(),
'preVars' => 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]',
),
),
// 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]',
),
),
),
),
'fileName' => array(
//'index' => array(
//
// 'rss.xml' => array(
// 'keyValues' => array (
// 'type' => 188,
// ),
//),
//
//),
//'defaultToHTMLsuffixOnPrev' => '.html',
),
)
);
/Brian
More information about the TYPO3-english
mailing list