>In addition to CherryPyCherryPy you need FlupWSGI interface for fcgi. I started following the howto outlined at the CherryPy WikiFastCGI behind Apache. And I have a few problems still. First off, I can't use script alias and this apache doesn't support proxy as far as I know. So my work around today is to mount my application with a script_filename:
app = cherrypy.tree.mount(HelloWorld(),script_name='/pathtocgi/cherry.cgi')
This is not too nice because I have to use my cgi file in the url. I don't mind working around somethings but this is too much of a hassle.
I've tried using hooks, and Tools but these both appear to happen after the fact. So that is where I'm at if you have a suggestion or are working with the same problem.
A detail you might be curious about. I want to use this as fcgi but that is tough for debugging. By running it as .cgi there are some differences. .cgi The server restarts everytime. So you can use such features as 'os.environ' then ever call you make it can be sent to the right spot.
In closing beware of using fcgi, it will fill up all of your processes if your not careful.
my email is email@example.com