Patrick Donker wrote:
bruce wrote:hi...i have a situation where i have a few websites that i'm playing around with. i'd like the sites to be on separate apache servers/boxes. i'd also like the sites to use port 80. my router allows port forwarding, but i have no way ofaplitting port 80 between multiple boxes/servers.i thought i could simply allow port 80 to be passed to each server, and thateach server would pull the site information it needs.. umm nope, didn't work!! so, is there a way that i can essentially pass all sites to onewebserver/box, and allow it to in turn redirect the sites to the appropriatebox/server... what's the best approach for this kind of situation? thoughts/suggestions/ideas/pointers/etc...What you need is reverse-proxy http://httpd.apache.org/docs-2.0/urlmapping.html#proxy Good luck!
be aware that this form of reverse proxy can fail open extremely easily and there is no way to detect it. I provided a gateway for spammers for a few days because of this tool. As a result, I now use pound which failsafe. save yourself some heartache and a significant amount of work: http://www.apsis.ch/pound/
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx