Hi

In fusebox, I've found it quite difficult to properly implement a system of 
'not found' error handling (404) because most of the time, it's the business 
logic in the switch that determines a URL is invalid by virtue of the action 
being incorrect.

e.g.   www.mydomain/categories/lancelot . . . . . is not going to have a 404 
generated by Active4D because the circuit 'products' is valid, even if 
'lancelot' is not a valid category.

What I do in this situation is simply direct the output to a custom 404-style 
error page in fbx_layouts. 

The problem is that this gets returned with a status code of 200 (because 
Active4D didn't detect any problem) and when I call set response status(404) 
then Active4D delivers it's own 404 page, not the custom one.

Is it possible to simply set the response status of the current response 
without Active4D actually changing the content as well ?

Peter

_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

Reply via email to