Manual URL re-directs
Hakan Koseoglu
hakan at koseoglu.org
Mon Oct 17 16:32:34 UTC 2011
On 17 October 2011 16:12, cliff here <c4ifford at gmail.com> wrote:
> Mornin' listmates
>
> I'm trying to think through a task I got the other day, and it seems fairly
> simple however, I'm not sure what the correct tool for the Job is. Let me
> break down the scenario.
Have a look at ProxyPass and ProxyPassReverse options.
Then set up a VirtualHost for the hostname you want to use (i.e.,
www.application.com) and then ProxyPass to those and back.
Sample:
<VirtualHost *:80>
ServerName application.com
DocumentRoot /fubar
ProxyPass / http://www.application-one.com/
ProxyPassReverse / http://www.application-one.com/
ServerAlias www.application.com
</VirtualHost>
On the other hand, if you want to use high-availability or load
balance across the envs, either (yours nor mine) are not the right
approach.
More information about the redhat-list
mailing list