Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Load balancer and ProxyPassReverse directive. |
|
Author |
|
olivier_giorgi
Joined: 13 Feb 2008 Posts: 2
|
Posted: Wed 13 Feb '08 14:49 Post subject: Load balancer and ProxyPassReverse directive. |
|
|
Hello to all,
Firstly, it is a general query relative to Apache 2.2.4 load balancer. In the
following cases (CASE 1, CASE 2 and CASE 3), i want to use the directive
ProxyPassReverse, please, could you help me for each case which are specific (CASE 1, CASE 2 and CASE 3) (Thanks in advance for your answer).
-------------------------------------------------------------------------------------
CASE 1: STATEFULL LOAD BALANCER (solution 1)
SetEnvIf ^Cookie$ "MYCOOKIE=([^ ;]*)" MYCOOKIE=$1
Header add Set-Cookie "MYCOOKIE=%{UNIQUE_ID}e.%{BALANCER_WORKER_ROUTE}e;
path=/" env=!MYCOOKIE
ProxyPass /RootURI balancer://Cluster stickysession=MYCOOKIE nofailover=Off
<Proxy balancer://Cluster >
BalancerMember http://Server1:Port1/RootURI
BalancerMember http://Server2:Port2/RootURI
</Proxy>
What is the method so as to use ProxyPassReverse directive in CASE 1?
-------------------------------------------------------------------------------------
CASE 2: STATEFULL LOAD BALANCER (solution 2)
ProxyPass /RootURI balancer://Cluster stickysession=JSESSIONID nofailover=Off
<Proxy balancer://Cluster >
BalancerMember http://Server1:Port1/RootURI
BalancerMember http://Server2:Port2/RootURI
</Proxy>
What is the method so as to use ProxyPassReverse directive in CASE 2?
-------------------------------------------------------------------------------------
CASE 3: STATELESS LOAD BALANCER
ProxyPass /RootURI balancer://Cluster nofailover=Off
<Proxy balancer://Cluster >
BalancerMember http://Server1:Port1/RootURI
BalancerMember http://Server2:Port2/RootURI
</Proxy>
What is the method so as to use ProxyPassReverse directive in CASE 3?
-------------------------------------------------------------------------------------
Thanks in advance for your answer and have a good day.
Best regards Olivier. |
|
Back to top |
|
|
|
|
|
|