[TYPO3-v4] HTTP Status and protected pages

Steffen Kamper info at sk-typo3.de
Sun Mar 13 22:54:56 CET 2011


Hi,

if i call a user protected page direct (enter url) then it gives a HTTP 
status 404.

This is wrong imho, and it gives no chance to react correct.
I would think that 401 "Unauthorized" should be used. that would allow,
* if user is logged in -> redirect to a page informing that he does not 
have enough rights for this page
* if not logged in -> redirect to login page

At the moment the pageNotFound_handling is called which doesn't help the 
user.

What do you think?

vg Steffen


More information about the TYPO3-project-v4 mailing list