[TYPO3-german] RealURL /// in der Url
Sebastian Stanger
typo3 at stanger.org
Thu Jan 19 06:59:59 CET 2006
Hallo,
ich habe bei meiner realurl config (1.0) das Problem, dass bei den
News-Eintragen immer in der URL 3 Slashes vorkommen, also so beispielsweise:
http://www.../home/detail/archiv////neuer_sport_squirrelfishing/index.htm
da sind doch eindeutig 3 3 zuviel.
Unten habe ich meine realurl config, weiss jemand, an was das liegt?
Danke schonmal.
Sebastian
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
),
'redirects' => array(),
'preVars' => array(),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 7,
),
'fixedPostVars' => array(),
'postVarSets' => array(
'_DEFAULT' => array(
// news archive parameters
'archiv' => array(
array(
'GETvar' => 'tx_ttnews[year]',
),
array(
'GETvar' => 'tx_ttnews[month]',
'valueMap' => array(
'januar' => '01',
'februar' => '02',
'maerz' => '03',
'april' => '04',
'mai' => '05',
'juni' => '06',
'juli' => '07',
'august' => '08',
'september' => '09',
'oktober' => '10',
'november' => '11',
'dezember' => '12',
),
),
array(
'GETvar' => 'tx_ttnews[day]',
),
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' => '-',
)
),
),
),
// news pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
'galerie' => array(
array('GETvar' => 'tx_gooffotoboek_pi1_srcdir')
),
'bild' => array(
array('GETvar' => 'tx_c5easygallery_pi1_fid')
),
'mode' => array(
array('GETvar' => 'tx_c5easygallery_pi1_func')
),
// news categories
'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' => '-',
),
),
),
),
),
),
'fileName' => array(
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
'index.htm' => array(
'keyValues' => array(),
),
),
'defaultToHTMLsuffixOnPrev' => 1,
),
),
);
$TYPO3_CONF_VARS['FE']['pageNotFound_handling_statheader'] = "HTTP/1.1
404 Not Found";
More information about the TYPO3-german
mailing list