How to add a 404 error handler to a CherryPy application. The example is sufficiently generic that it can be adapted to whatever fix you need (i.e., it shows how the CherryPy errorpage*() methods are called).