Just before rendering your template, set the response status:cherrypy.response.status=404
That works pretty well, though any images (etc) on the page get sent with a 200 response code. I'm guessing this is OK since the URL requested actually gets 404'd; any process or spider should then move along.
--
"Things fall apart. The Center cannot hold."
- Life as a QA geek, in a nutshell.
Best,
Jeff

