httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mase'" <>
Subject [users@httpd] mod_proxy_balancer cookie issue
Date Wed, 27 Jun 2018 12:21:14 GMT
I have 2 zope servers behind a reverse proxy; i'm trying to balance them,
following the apache-wiki guide
"Load balancing with appservers who set a bad sticky cookie"
The configuration works with problems:
Planning a Server maintenance: under the balancer web page, i need to put
one server offline. I'm using the server00, i put the server00 as Disabled.
The application gives me an http 503 error, until I manually delete the
apache's added cookie "sticky.server00"
Some better suggestion(s)?

Here is my conf:
        ProxyPreserveHost On
        SSLProxyEngine on
        <Proxy balancer://mela>
        BalancerMember route=server00 keepalive=On
        BalancerMember route=server01 keepalive=On
        ProxySet stickysession=ROUTEID nofailover=On
        Header add Set-Cookie
<Location "/balancer">
        SetHandler balancer-manager
        Order Deny,Allow
        Deny from all
        Allow from localhost .
        ProxyPass /balancer !
        ProxyPass /status !
        ProxyPass / balancer://mela/APPL1/PATH1/
        ProxyPassReverse / balancer://mela/APPL1/PATH1/
        SSLEngine on
        SSLCertificateFile /etc/pki/tls/certs/star_example_com.crt
        SSLCertificateKeyFile /etc/pki/tls/private/star_example_com.key
        SSLCertificateChainFile /etc/pki/tls/certs/intermediateCA.crt
        SSLCACertificateFile /etc/pki/tls/certs/bundleCA.crt
        ErrorLog "|/usr/sbin/rotatelogs /etc/httpd/logs/ 86400"
        CustomLog "|/usr/sbin/rotatelogs /etc/httpd/logs/ 86400" examplessl

Michele MAsè

View raw message