[TYPO3-english] realurl error Reason: Segment "404" was not a keyword

Morten Hagh morten at hagh.dk
Thu Aug 18 12:36:53 CEST 2011


Here is my RealURL conf.

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
	'init' => array( 
    		'enableCHashCache' => 1, 
        		'appendMissingSlash' => 'ifNotFile', 
        		'enableUrlDecodeCache' => 1, 	
        		'enableUrlEncodeCache' => 1,
		'postVarSet_failureMode' => '',
    	),

	'_DEFAULT' => array(
		'redirects' => array(),
		'preVars' => array(
			array(
				'GETvar' => 'L',
				'valueMap' => array(
					'dk' => '0',
					'sv' => '1',
					'no' => '2',
					'de' => '3',
					'en' => '4',
				),
				'valueDescription' => array(
					'dk' => 'Dansk',
					'sv' => 'Svenska',
					'no' => 'Norsk',
					'de' => 'Deutsch',
					'en' => 'English',
				),
			'noMatch' => 'bypass',
		),
	),
	'pagePath' => array(	
		'type' => 'user',
		'userFunc' =>
	
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
		'spaceCharacter' => '-',
		'languageGetVar' => 'L',
		'expireDays' => 7,
		'firstHitPathCache' => 1,
	),
	'postVarSets' => array(
		'_DEFAULT' => array(	
		),
	),
);

/Morten Hagh

-----Oprindelig meddelelse-----
Fra: typo3-english-bounces at lists.typo3.org
[mailto:typo3-english-bounces at lists.typo3.org] På vegne af Tomaz Zaman
Sendt: 18. august 2011 12:24
Til: typo3-english at lists.typo3.org
Emne: Re: [TYPO3-english] realurl error Reason: Segment "404" was not a
keyword

Paste your realurl configuration

On 2011-08-18 10:03:23 +0000, Morten Hagh said:

> Yes, I do have a 404 error page set up which works fine! I am getting this
> segment error at random pages.
> 
> /Morten Hagh
> 
> -----Oprindelig meddelelse-----
> Fra: typo3-english-bounces at lists.typo3.org
> [mailto:typo3-english-bounces at lists.typo3.org] På vegne af Tomaz Zaman
> Sendt: 18. august 2011 11:47
> Til: typo3-english at lists.typo3.org
> Emne: Re: [TYPO3-english] realurl error Reason: Segment "404" was not a
> keyword
> 
> Do you have a page with title 404 set up?
> 
> On 2011-08-18 09:37:07 +0000, Morten Hagh said:
> 
>> Hi list,
>> 
>> 
>> 
>> I am getting this error when trying to access a subpage of another
> subpage:
>> 
>> 
>> 
>> Reason: Segment "404" was not a keyword for a postVarSet as expected on
> page
>> with id=0.
>> Additionally, http://www.xxxx.dk/dk/404/ was not found while trying to
>> retrieve the error document.
>> 
>> 
>> 
>> I have the newest RealURL install.
>> 
>> When I access the page by it's ID with index.php?id= I can see it fine.
>> 
>> What am I doing wrong
>> 
>> 
>> 
>> /Morten Hagh


-- 
--------------------------------------------------------
Tomaz Zaman, certified TYPO3 integrator

_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list