[SunHELP] Apache: rewrite or proxy or...?
r.berber at computer.org
Thu Jan 4 15:26:42 CST 2007
William Enestvedt wrote:
> I've got precious little experince configuring Apache (and a
> lingering head cold), and someone just asked me a question I can't
> figure out which Apache config option is the best choice to use.
OT for this list...
> I have a given Solaris 8 server named (for example)
> justaserver.domain.edu on which I want to run two copies of Apache. When
> requests to C NAMEs of justaserver are made, they will be redirected to
> multiple copies of Apache listening on different ports.
> One of these Apache instances (and C NAMEs) is already in place, and
> another needs to come up soon. That is a copy of Apache already listens
> to port 80 with a C NAME of, say, web.domain.edu, and within a month
> client requests to calendar.domain.edu should be served by the new copy
> of Apache running on port 8080.
> I know I can get the DNS changes made, but how do I force the
> redirection to include the port number? The current httpd.conf should be
> the place to do this, right? Do I use VirtualHosts to rewrites?
> Thanks in advance for any advice, URLs, or blows to the head.
It could be done with only one Apache server, but here goes with two:
1st Apache (listens to port 80):
RedirectPermanent / http://calendar.domain.edu:8080/
2nd Apache (listens to port 8080):
... nothing special
More information about the SunHELP