You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jérôme Patt <je...@googlemail.com> on 2008/07/22 10:26:19 UTC
[users@httpd] mod_proxy, mod_proxy_balancer
Hello there,
I'm using a bunch of Apache-Worker as proxys (modules proxy_balancer_module,
proxy_http_module, proxy_module), with two parent servers. The parent servers are holding
the content, which is redundant till now on both servers. At the moment, there is this
directive in the apache2.conf on the front proxys:
<Proxy balancer://hotcluster>
# The below is the hot standby
BalancerMember http://host1
BalancerMember http://host2
</Proxy>
This worked fine for me, but now the situation has changed: there will be different
content on the parent servers. Is there a way to tell the front proxys, that content of a
specified url is only available on host one? Maybe via the rewrite engine?
Thanks in advance for your help,
Jérôme
---------------------------------------------------------------------
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] mod_proxy, mod_proxy_balancer
Posted by Jérôme Patt <je...@googlemail.com>.
Ok, now i gured out, that something like:
ProxyPass /special-directory1 http://host1
ProxyPass /special-directory2 http://host2
ProxyPass / balancer://hotcluster/
<Proxy balancer://hotcluster>
# The below is the hot standby
BalancerMember http://host1
BalancerMember http://host2
</Proxy>
should do the trick. Correct?
Jérôme
Jérôme Patt schrieb:
> Jérôme Patt schrieb:
>> Hello there,
>>
>> I'm using a bunch of Apache-Worker as proxys (modules
>> proxy_balancer_module, proxy_http_module, proxy_module), with two
>> parent servers. The parent servers are holding the content, which is
>> redundant till now on both servers. At the moment, there is this
>> directive in the apache2.conf on the front proxys:
>
> Forgot to add:
>
>
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
>
> ProxyPass /server-status !
> ProxyPass / balancer://hotcluster/
>
>>
>> <Proxy balancer://hotcluster>
>> # The below is the hot standby
>> BalancerMember http://host1
>> BalancerMember http://host2
>> </Proxy>
>> This worked fine for me, but now the situation has changed: there will
>> be different content on the parent servers. Is there a way to tell the
>> front proxys, that content of a specified url is only available on
>> host one? Maybe via the rewrite engine?
>>
>>
>> Thanks in advance for your help,
>>
>>
>> Jérôme
>>
>>
>> ---------------------------------------------------------------------
>> 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
>>
>
>
> ---------------------------------------------------------------------
> 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
>
---------------------------------------------------------------------
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] mod_proxy, mod_proxy_balancer
Posted by Jérôme Patt <je...@googlemail.com>.
Jérôme Patt schrieb:
> Hello there,
>
> I'm using a bunch of Apache-Worker as proxys (modules
> proxy_balancer_module, proxy_http_module, proxy_module), with two parent
> servers. The parent servers are holding the content, which is redundant
> till now on both servers. At the moment, there is this directive in the
> apache2.conf on the front proxys:
Forgot to add:
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /server-status !
ProxyPass / balancer://hotcluster/
>
> <Proxy balancer://hotcluster>
> # The below is the hot standby
> BalancerMember http://host1
> BalancerMember http://host2
> </Proxy>
> This worked fine for me, but now the situation has changed: there will
> be different content on the parent servers. Is there a way to tell the
> front proxys, that content of a specified url is only available on host
> one? Maybe via the rewrite engine?
>
>
> Thanks in advance for your help,
>
>
> Jérôme
>
>
> ---------------------------------------------------------------------
> 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
>
---------------------------------------------------------------------
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