Apache-ProxyConf
view release on metacpan or search on metacpan
ProxyConf.pm view on Meta::CPAN
172.16.0.0/20 Half of the clients connect to proxy A1 and use proxy A2
as fallback, the other half use proxy A2 with A1 as
fallback.
172.16.16.0/20 Clients use proxy B with proxy A2 as fallback.
172.16.32.0/20 Clients use proxy C with proxy B as fallback.
For secure HTTP traffic special rules apply. Because this traffic is not
cached all clients connect to proxy A1 and A2 directly spreading the load
equally.
This is how the proxyconf.ini looks:
[proxy]
172.16.0.0/20=(172.16.0.10:3128,172.16.0.20:3128)
172.16.16.0/20=172.16.16.10:3128,172.16.0.20:3128
172.16.32.0/20=172.16.32.10:3128,172.16.16.10:3128
[https]
172.16.0.0/16=(172.16.0.10:3128,172.16.0.20:3128)
=head1 EXTRA OPTIONS
172.16.0.0/20 Half of the clients connect to proxy A1 and use proxy A2
as fallback, the other half use proxy A2 with A1 as
fallback.
172.16.16.0/20 Clients use proxy B with proxy A2 as fallback.
172.16.32.0/20 Clients use proxy C with proxy B as fallback.
For secure HTTP traffic special rules apply. Because this traffic is not
cached all clients connect to proxy A1 and A2 directly spreading the
load equally.
This is how the proxyconf.ini looks:
[proxy]
172.16.0.0/20=(172.16.0.10:3128,172.16.0.20:3128)
172.16.16.0/20=172.16.16.10:3128,172.16.0.20:3128
172.16.32.0/20=172.16.32.10:3128,172.16.16.10:3128
[https]
172.16.0.0/16=(172.16.0.10:3128,172.16.0.20:3128)
EXTRA OPTIONS
( run in 0.569 second using v1.01-cache-2.11-cpan-64827b87656 )