|forward404 - second time with http code 200 [message #90214]
||Fri, 18 December 2009 23:27
Registered: December 2009
i have problems using the forward404 method.
A little example should explain it better, the links are just for example (no need to follow them)
The 'show' action checks if an article with id 15 exists and displays it, otherwise it calls forward404().
Now the first call to a non existing article with id 0
gives me the 404 page with status code 404, but the second call of this url gives me the 404 page with status code 200.
First i thought it could be a cache problem, but in apps/frontend/config/cache the cache is set off and in app/frontend/modules/error/ there is no config folder. So the cache should be disabled for the error module.
Do you have any ideas?
Thank you in advance,
[Updated on: Fri, 18 December 2009 23:28]