[Typo3] I want 404's !!

Jeff Segars jsegars at alumni.rice.edu
Fri Jul 1 00:38:41 CEST 2005


Christoph,
I don't have any special configuration in RealURL or elsewhere in TYPO3 
to get the redirects working. Just the setup in .htaccess and the 
redirection for the domain record.  Maybe something that has been set on 
your install is overriding the correct behavior and causing the issues?

Here's my configuration....

1) [FE][pageNotFound_handling] is not set to any value.
2) RealURL Configuration in localconf.php

$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] 
= 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache'] 
= 'tx_realurl_urlencodecache';

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
     'init' => array(
         'enableCHashCache' => 1,
         'appendMissingSlash' => 'ifNotFile',
         'enableUrlDecodeCache' => 1,
         'enableUrlEncodeCache' => 1,
     ),
     'preVars' => array(
	...
     ),
     'pagePath' => array(
         ...
     ),
     'postVarSets' => array(
         ...
     ),
     'fixedPostVars' => array(
         ...
     ),
     'fileName' => array (
         ...
     ),
);



More information about the TYPO3-english mailing list