httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joost de Heer" <jo...@sanguis.xs4all.nl>
Subject Re: [users@httpd] One Apache for three diff. websites
Date Tue, 01 Feb 2011 07:43:46 GMT
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@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