[Typo3] typo3, realurl and 404

ben van 't ende [netcreators] ben at netcreators.nl
Tue Nov 22 17:35:26 CET 2005


Peter Klein wrote:
> Hi Pawel. I don't know if these settings will fix your problems, but it 
> allows you to get a little more control over the 404 pages..
> 
> Add these lines to your localconf.php
> 
> $TYPO3_CONF_VARS['FE']['pageNotFound_handling_statheader'] = "HTTP/1.1 404 
> Not Found";
> 
> #Use this line if your 404 page is a static page
> $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 
> 'READFILE:fileadmin/templates/pageNotFound.html';
> 
> #Use this line if your 404 page is a TYPO3 page
> #$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'index.php?id=44';

Hi Peter,

I posted a question a little while before about 404 and RealURL. How do 
you use the 'pageNotFound_handling' for RealURL? Can you use an URL like 
'/error/404/'? I suppose that the above configuration results in 
http://www.mydomain.com/index.php?id=44 for the error page in the above 
mentioned configuration.

gRTz

ben
-- 
netcreators :: creation and innovation
www.netcreators.nl -  www.typo3.nl



More information about the TYPO3-english mailing list