Get to the bottom of the SCRIPT_NAME and PATH_INFO issues and adjust
the WSGI handler accordingly, as well as write up a note in the docs
explaining how it works and why.