wfront is the virtual host monster for wsgi »
not quite as automatic, but without hideous url rewriting… supports mod_proxy out of the box:
import wfront
proxie_map = [
('localhost::', wsgiapp, {}),
('mycooldomain.com::', wsgiapp,
{ 'HTTP_HOST': 'mycooldomain.com',
'HTTPS': 'ON', 'SCRIPT_NAME': '/coolstuff'})]
wsig_callable = wfront.route(proxie_map, host_resolver=wfront.modproxy_resolver)
(proxy https://mycooldomain.com/coolstuff as ‘/’ to wsgiapp)