Project

General

Profile

Actions

Bug #21852

closed

PageNotFound_handling works incorrectly

Added by Thomas Lange over 14 years ago. Updated over 10 years ago.

Status:
Rejected
Priority:
Won't have this time
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2009-12-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When using
- default TYPO3 .htaccess file
- without 'simulate static documents' and
- without any additional extensions
that 404 pagenotfound_handling works only for requested files/URL's in form: ".../index.php?id=2":

If page with id=2 exists, then this page will shown.
If page with id=2 doesn't exist, then the correct message "Error, The page did not exist..." will shown.
So far so good.

2 Problems:

1.) www.domain.com.de/wrongfile.html or www.domain.com.au/wrongfile.htm shows the page with id=0 (homepage, startpage), if the isn't any wrongfile. That's not correctly.
Also If I set the PageNotFound_handling in the InstallTool every time I get the page with id=0.

2.) E.g. a page with id=2 exists, then

- www.domain.com.de/index.php?id=2 is correctly.

The following examples should show the message "Error, The page did not exist...", but
they show also the Page with id=2:

- www.domain.com.de/ind.php?id=2
- www.domain.com.de/wrongfile.html?id=2
- www.domain.com.de/?id=2

I have only checked this with TYPO3 4.3.0.

In the bugreport #0008343 for older TYPO3-versions I can find a similar discussion,
but not the same failure results.

When I use RealURL it appears PageNotFound_handling works correctly.

(issue imported from #M13025)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #18754: improved 404 pagenotfound_handling not working for certain requested URLs/resourcesClosed2008-05-06

Actions
Actions

Also available in: Atom PDF