日期:2014-05-16 浏览次数:20936 次
LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_connect_module modules/mod_proxy_connect.so LoadModule proxy_ftp_module modules/mod_proxy_ftp.so LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyPass /images ! ProxyPass /style ! ProxyPass /scripts ! ProxyPass / http://localhost:8080/
ProxyPass / balancer://proxy/ <Proxy balancer://proxy/> BalancerMember ajp://localhost:8009/ BalancerMember ajp://localhost:8019/ </Proxy>
<Proxy balancer://proxy/> BalancerMember ajp://localhost:8009/ loadfactor=1 BalancerMember ajp://localhost:8019/ loadfactor=1 </Proxy>
ProxyPass /system ajp://localhost:8009/
<Proxy balancer://proxy/> BalancerMember ajp://localhost:8009/ BalancerMember ajp://localhost:8019/ status=+H </Proxy>
<Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
<distributable/>
<VirtualHost *:80> ProxyPass / balancer://proxy/ stickysession=JSESSIONID ProxyPassReverse / balancer://proxy/ <Proxy balancer://proxy> BalancerMember ajp://localhost:8009/ loadfactor=1 route=jvm1 BalancerMember ajp://localhost:8019/ loadfactor=2 route=jvm2 </Proxy> </VirtualHost>
ProxyPass /images ! ProxyPass /style ! ProxyPass /scripts ! ProxyRequests Off <VirtualHost *:80> ProxyPass / balancer://proxy/ stickysession=JSESSIONID ProxyPassReverse / balancer://proxy/ <Proxy balancer://proxy> BalancerMember ajp://localhost:8009/ loadfactor=1 route=jvm1 BalancerMember ajp://localhost:8019/ loadfactor=2 route=jvm2 </Proxy> </VirtualHost>