You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tushar Chavan <tu...@hotmail.com> on 2011/01/23 18:46:42 UTC

[users@httpd] Redirect to the diff. servers.

Hi Experts,
We have below requirement.
There are two portal servers . Portal 1 --> with url http://epsrm.xyz.com:50000/irj  & Portal 2 ---> with https://srmprd.xyz.com:50000/irj
Apache server is srmarp.
Now can we redirect traffic from apache to  Portal 1 & Portal 2 from same Apache host.
I can use 
ProxyPass              	irj         http://epsrm.xyz.com:50000/irjProxyPassreverse       irj         http://epsrm.xyz.com:50000/irj

what about other?
Best Regards,Tushar








 		 	   		  

Re: [users@httpd] Redirect to the diff. servers.

Posted by Szász Csaba <sz...@gmail.com>.
You can use mod_proxy_balancer to use both servers

Example:

<Proxy balancer://mycluster>
BalancerMember http://192.168.1.50:80
BalancerMember http://192.168.1.51:80
</Proxy>
ProxyPass /test balancer://mycluster

More @ http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html

2011/1/23 Jeroen Geilman <je...@adaptr.nl>:
> On 1/23/11 6:46 PM, Tushar Chavan wrote:
>
> Hi Experts,
> We have below requirement.
> There are two portal servers . Portal 1 --> with url
> http://epsrm.xyz.com:50000/irj  & Portal 2 ---> with
> https://srmprd.xyz.com:50000/irj
> Apache server is srmarp.
> Now can we redirect traffic from apache to  Portal 1 & Portal 2 from same
> Apache host.
> I can use
> ProxyPass               irj         http://epsrm.xyz.com:50000/irj
> ProxyPassreverse       irj         http://epsrm.xyz.com:50000/irj
>
> what about other?
>
> Other what ?
>
> Plane of existence ?
>
> --
> J.



-- 
Üdvözlettel / Best Regards / Mit freundlichen Grüßen
Tsaby


  ()()      (\__/)     (\__/)
 ( '.' )     (O.o )    (='.'=)
(")_(")    (> < )    (")_(")

These are three Bunnies.
Copy Bunnies into your signature to help them on theirs way to world domination!

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


Re: [users@httpd] Redirect to the diff. servers.

Posted by Jeroen Geilman <je...@adaptr.nl>.
On 1/23/11 6:46 PM, Tushar Chavan wrote:
> Hi Experts,
>
> We have below requirement.
>
> There are two portal servers . Portal 1 --> with url 
> http://epsrm.xyz.com:50000/irj & Portal 2 ---> with 
> https://srmprd.xyz.com:50000/irj
>
> Apache server is srmarp.
>
> Now can we redirect traffic from apache to  Portal 1 & Portal 2 from 
> same Apache host.
>
> I can use
>
> ProxyPass irj         http://epsrm.xyz.com:50000/irj
> ProxyPassreverse       irj         http://epsrm.xyz.com:50000/irj
>
>
> what about other?


Other what ?

Plane of existence ?

-- 
J.