httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Donker <l...@webpagina.nu>
Subject Re: [users@httpd] redirection from within apache....
Date Mon, 02 May 2005 22:19:02 GMT
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 of
>aplitting port 80 between multiple boxes/servers.
>
>i thought i could simply allow port 80 to be passed to each server, and that
>each 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 one
>webserver/box, and allow it to in turn redirect the sites to the appropriate
>box/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!

-Patrick

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message