[TYPO3-dev] An idea to further process ' page not found ' 404handling

Oliver Hader oliver at typo3.org
Tue Apr 29 11:16:53 CEST 2008


Hi Matt,

Matt - [SwagmanInternet] schrieb:
> Christopher Torgalson wrote:
>> On Tue, Apr 29, 2008 at 6:24 AM, SwagmanInternet
>> <typo3 at swagmaninternet.com> wrote:
>>
>> <snip>
>>
>>>  Correct 404 page error handling appears to fail for the following
>>>  requested resources;
>>>
>>>                         - www.domain.com.au/file.htm
>>>                         - www.domain.com.au/file.pdf
>>>
>>>                         - www.domain.com.au/folder/
>>>                         - www.domain.com.au/folder/file.html
>>>                         - www.domain.com.au/folder/file.pdf
>> <snip>
>>
>>
>> You should re-chck your setup. All of your examples above and any
>> variant I can create return a 404 page with proper response header for
>> me.
>>
>> Relevant install tool settings:
>>
>> [FE][pageNotFound_handling] = /index.php?id=54
>> [FE][pageNotFound_handling_statheader] = HTTP/1.0 404 Not Found
> 
> I forgot to mention my live setup before, so here it is:
> 
> TYPO3 ver 4.1.4
> 
> $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/pagenotfound.html';
> $TYPO3_CONF_VARS['FE']['pageNotFound_handling_statheader'] = 'HTTP/1.0 404 
> Not Found';
> 
> and with this scenario, the above requested resources failed for me, and 
> also in a few other sites i tested on. m'mmm

What does "failed" mean exactly in your case?
Is the URI "/pagenotfound.html" a real file or virtually and should be 
handled via .htaccess and finally TYPO3?

olly
-- 
Oliver Hader
TYPO3 Core Team




More information about the TYPO3-dev mailing list