[TYPO3-english] [SOLVED] Multiple 404 error handlers for multi-domain web-sites

Victor Livakovsky v-tyok at mail.ru
Mon Feb 9 21:11:59 CET 2009


> if ($_SERVER['HTTP_HOST'] == 'www.example.com') {
> 	$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'READFILE:/404-v1.html';
> }
> else {
> 	$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'READFILE:/404-v2.html';
> }
>   

Oh, thank you, Dmitry! :)

I really, haven't thought about such way of solving this...


More information about the TYPO3-english mailing list