_cpwsgi requestLine: PATH_INFO SCRIPT_NAME
When running the wsgiApp out of twisted.wsgi, twisted will set PATH_INFO and SCRIPT_NAME with leading '/'
This causes an infinite redirect loop when accessing "http://localhost"
This also causes the root directory to be placed one level deep. So I can access my root resource only by using "http://localhost/bla/"
when I want to see it at "http://localhost"
This problem can be corrected by adding a line into the requestLine function
resource = resource.replace('//', '/')
I think this is a cherrypy problem because an empty string is equivalant to "/", and because the behavior of cherrypy seems too fragile.
Reported by firstname.lastname@example.org