Update: based on Jesper Mortensen's response, here is some more information. The applications are based on Perl's HTTP::Daemon. I do plan to deploying them on a Linux server.
Each application does something different. Therefore, this is not really load-balancing as the servers are not interchangeable. I am more familiar with Apache than anything else but I have never configured it for proxying.
Consider a scenario where a couple of web applications are listening on individual ports (say
Is it possible to have a server listening on
www.example.com:80 redirecting requests to
localhost:8000 for static content,
localhost:8888, respectively, for application specific requests? Also, is it possible to use
https for the external
www.example.com while the servers on ports
I have been reading Chapter 12 in *Practical mod_perl* and the squid examples and it looks like it ought to be possible but this is my first time delving into proxies and reverse proxies and therefore I am not sure how I should proceed and I am not sure about terminology, so any pointers/corrections would be much appreciated as well.