rock solid framework for agile and secure web applications
The handler is in fcgihandler.py in the main web2py folder of the source distribution.