Re: Manual URL re-directs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17 October 2011 16:12, cliff here <c4ifford@xxxxxxxxx> 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.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux