Re: One Apache for three diff. websites

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

 



On Tue, February 1, 2011 08:29, Tushar Chavan wrote:
>
> Hi Experts,
>
> We have three diff. web sites providing diff. content.
> 1. www.krm.com
> 2. https://epsrm.com/irj
> 3. http://epess.com/irj
>
> We have one Apache server with one Public ip. Now from this Apache can we
> direct requests to three diff websites.
>
> ProxyPass                   /irj     https://epsrm.com/irj
> PorxyPassreverse        /irj     https://epsrm.com/irj
>
> ProxyPass                   /        http://www.krm.com
> ProxyPassreverse        /        http://www.krm.com
>
> Now how we will pass request to third website 'http://epess.com/irj' ? As
> /irj will pass request to 'https://epsrm.com/irj'.

1)
ProxyPass /irj2 http://epess.com/irj
ProxyPassReverse /irj2 http://epess.com/irj

But I doubt this will work. 'irj' is probably a SAP system, and they write
*horrible* HTML.

2)
Use name based virtual hosts to separate the requests.

Joost

---------------------------------------------------------------------
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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux