[Cialug] HTTP forwarding/proxying-ish something
Colin Burnett
cmlburnett at gmail.com
Sat Jun 28 15:14:34 CDT 2008
Here's my setup:
* Actiontec DSL modem with one public IP on the DSL side and a
192.168.0.x private network on the other
* Modem port forwards from public static IP port 80 to a private LAN
machine (A) port 80 (strictly a TCP port forwarder)
* A:80 is running Apache 2.2.9
* B:80 is running another HTTP server (which server is entirely
irrelevant, but it is intentionally not apache)
* foo.com and bar.com resolve to the one-and-only public IP
I want A:80 to serve foo.com but I want B:80 to server bar.com (based
entirely on HTTP 1.1 host header), which necessitates Apache on A:80
to understand bar.com and be able to forward requests to B:80. My
requirement is both foo.com and bar.com resolve to the same public
static IP since I don't want to pay for more than one :)
Will Apache let me proxy in this manner? If A:80 has to run something
else and I move that apache to another port...so be it.
Colin
More information about the Cialug
mailing list