How to run Atmosphere behind Apache WebServer - Atmosphere/atmosphere Wiki

The following configuration works with Apache WebServer and Tomcat 6/7

<VirtualHost *:80>

    ProxyRequests Off
    ProxyPreserveHost On
    ProxyStatus On

    <Location /balancer-manager>
        SetHandler balancer-manager
        Order Deny,Allow
        #Deny from all
        #Allow from localhost
        Allow from all
    </Location>

    <Proxy balancer://tm-cluster>
        BalancerMember http://127.0.0.1:8080 route=tc1
        BalancerMember http://127.0.0.1:8090 route=tc2
    </Proxy>

    ProxyPreserveHost On
    ProxyPass /Application balancer://tm-cluster/Application stickysession=JSESSIONID|jsessionid

    RewriteEngine on
    RewriteRule ^/$ /Application [R]

</VirtualHost>