Hello, Apache must be hidden behind Zen using private network. So they are not exposed over the internet. Using HTTP farm, you can create one service per virtual host, having each any number of frontend (can be different). Then you can set in maintenance one apache for 1 virtual host.
By default you will then only see private of zen LB in apache log. But you can still have true client IP with this: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded CustomLog "logs/www_access_log" proxy env=forwarded This will also hide all check_http done by zen to check health for 503 error, I guess it's a config error. Maybe related to https? Cordialement, Mathieu CHATEAU http://www.lotp.fr 2015-11-11 2:42 GMT+01:00 James M Doherty <j...@jdoherty.net>: > I have this exact environment set up > I serve 3 different web sites spread across 5 backend servers > > Tomorrow I will send the key configure settings if you are interested > > James M Doherty > President > Revive Consulting LLC. > 512-650-2997 ( O ) > 512-217-6302 ( C ) > > > > > On Nov 10, 2015, at 18:50, Ernie Dunbar <maill...@lightspeed.ca> wrote: > > > > Hi everyone. > > > > I'm trying to set up Zen Loadbalancer against a cluster of servers > > running Apache virtual hosts on a single, shared IP address. I have the > > loadbalancer working fine so long as the Apache servers are hosting a > > completely separate IP address for a virtual host, but I want to be able > > to run many domains through the Zen Loadbalancer without having to have > > a unique IP address for three different hosts - the Zen box, Apache > > server 1 and Apache server 2. > > > > For example, this configuration works fine: > > > > mocku.edu DNS resolves to <public /24>.41 > > Zen Loadbalancer uses <public /24>.41 > > Apache1 uses <public /24>.42 > > Apache2 uses <public /24>.43 > > > > When I set up a php script to show the IP address that the web server is > > using, refreshing the page shows that the IP address switches between > > .42 and .43. I've tried using a private IP space like 10.0.0.42 and > > 10.0.0.43 for the backends (HTTP profile), but that immediately fails > > with a 503 message, and the Apache logs show no access attempts. > > > > Any suggestions on how to accomplish this without using hundreds of > > precious IPv4 IP addresses would be welcome. :) > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Zenloadbalancer-support mailing list > > Zenloadbalancer-support@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support > > > ------------------------------------------------------------------------------ > _______________________________________________ > Zenloadbalancer-support mailing list > Zenloadbalancer-support@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support >
------------------------------------------------------------------------------
_______________________________________________ Zenloadbalancer-support mailing list Zenloadbalancer-support@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support