# AJP configuration for a clustered setup of OX hosts

<IfModule mod_proxy_ajp.c>
    ProxyRequests Off
    <Proxy balancer://oxcluster>
        BalancerMember ajp://oxhost1:8009 smax=0 ttl=60 retry=60 loadfactor=50 route=OX1
        # Enable and maybe add additional hosts running OX here
        # BalancerMember ajp://oxhost2:8009 smax=0 ttl=60 retry=60 loadfactor=50 route=OX2
        ProxySet stickysession=JSESSIONID timeout=70 lbmethod=bybusyness
    </Proxy>
    <Proxy /ajax>
        ProxyPass balancer://oxcluster/ajax
    </Proxy>
    <Proxy /axis2>
        ProxyPass balancer://oxcluster/axis2
    </Proxy>
    <Proxy /servlet>
        ProxyPass balancer://oxcluster/servlet
    </Proxy>
    <Proxy /infostore>
        ProxyPass balancer://oxcluster/infostore
    </Proxy>
    <Proxy /publications>
        ProxyPass balancer://oxcluster/publications
    </Proxy>
    <Proxy /Microsoft-Server-ActiveSync>
        ProxyPass balancer://oxcluster/Microsoft-Server-ActiveSync
    </Proxy>
    <Proxy /webservices>
        ProxyPass balancer://oxcluster/webservices
    </Proxy>
</IfModule>
