Before mod_wsgi exists I think it's needful to have an efficient way to proxy http requests and responses through CGI. Is there a small app written in C that we can use to call a running WSGI Server? I found one old app that would probably do the job if it were updated:
http://www.leerssen.com/cgiproxy.html He's calling this a CGI proxy, but it's really a HTTP proxy, which is what we need since the WSGI Server is a true HTTP server itself. On dedicated servers with multiple IP addresses where I have administrative control over the web server and DNS I can simply map hostnames for each WSGI application like this: www.mycompany.com (10.0.0.100) > HTTP Server app1.mycompany.com (10.0.0.101) > WSGI Server <> WSGI App 1 app2.mycompany.com (10.0.0.101) > WSGI Server <> WSGI App 2 But in most virtual-hosting environments there needs to be a way to map HTTP requests to WSGI servers behind the HTTP Server listening on the one public IPv4 address: *.mycompany.com/ (0.0.0.0) > HTTP Server *.mycompany.com/app1/ (0.0.0.0) > HTTP Server > WSGI Server <> WSGI App 1 *.mycompany.com/app2/ (0.0.0.0) > HTTP Server > WSGI Server <> WSGI App 2 What's the best way to deploy multiple applications along side a HTTP server serving static content? Eric Radman | http://eradman.com _______________________________________________ Web-SIG mailing list [email protected] Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com
