[Typo3] redirecting unconfigured pages
David Banning
david at skytracker.ca
Tue Feb 8 09:45:02 CET 2005
> which will be read and outputted directly after having the marker
> "###CURRENT_URL###" substituted with REQUEST_URI and ###REASON### with
> reason text, for example: "READFILE:fileadmin/notfound.html"
>
> and:
> [pageNotFound_handling_statheader]
> If 'pageNotFound_handling' is enabled, this string will always be sent
> as header before the actual handling.
>
> Try some combination that fits your needs.
> Works. Tested. In Use.
OK. So I tried in to change
[FE][pageNotFound_handling] = index.php
Then I tried "http://www.skytracker.ca"
Then I tried "READFILE:index.php"
For me, it does not seem to work.
Even before I started working on this problem,
[FE][pageNotFound_handling] was set to nothing, so seemingly the redirect
should have gone to the 'nearest' page as per the install description
of "pageNotFound_handling".
Something interesting. Since my install, the default setting for
[FE][pageNotFound_handling_statheader] = Status: 404 Not Found
When 404 is just -one- type of error. Is this not so?
In my case,
http://skytracker.ca/index.php/History/20/1/
inserts the following lines in the apache log;
209.161.205.12 - - [08/Feb/2005:03:29:02 -0500] "GET /index.php/History/20/1/ HTTP/1.0" 200 893 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"
209.161.205.12 - - [08/Feb/2005:03:29:02 -0500] "GET /index.php/History/20/1/ HTTP/1.0" 200 893
209.161.205.12 - - [08/Feb/2005:03:29:02 -0500] "GET /t3lib/gfx/typo3logo.gif HTTP/1.0" 200 1720 "http://skytracker.ca/index.php/History/20/1/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"
209.161.205.12 - - [08/Feb/2005:03:29:02 -0500] "GET /t3lib/gfx/typo3logo.gif HTTP/1.0" 200 1720
209.161.205.12 - - [08/Feb/2005:03:29:03 -0500] "GET /favicon.ico HTTP/1.0" 302 282 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"
209.161.205.12 - - [08/Feb/2005:03:29:03 -0500] "GET /favicon.ico HTTP/1.0" 302 282
Clearly there is no 404 error. Nor is there anything I can see to redirect.
--
More information about the TYPO3-english
mailing list