<virtualhost *:80> AddType text/javascript. js AddType text/css; CSS AddType text/html;charset=utf-8. html ServerName my.ekp.com ServerAdmin wu.guowei@trs.com.cn <proxy balancer://ekpcluster> Balancermember http://192.9.200.69:8065 route=m69 Balancermember http://192.9.200.115:8060 route=m115 Proxyset Stickysession=csid </Proxy> Rewriteengine on Rewriterule ^/ekp/(. *\. ( JSP|DO|JWS|APPLETDO) $ balancer://ekpcluster/ekp/$1 [p,l] Rewriterule ^/ekp/(. *;jsessionid.*) $ balancer://ekpcluster/ekp/$1 [p,l] Rewriterule ^/ekp/(SD) $ balancer://ekpcluster/ekp/$1 [p,l] Rewriterule ^/ekp/(trsidsssoproxyservlet) $ balancer://ekpcluster/ekp/$1 [p,l] #SoapService rule Rewriterule ^/ekp/services/(. *) http://192.9.200.69:8065/ekp/services/$1 [p,l] proxypassreverse/http://192.9.200.69:8065/ proxypassreverse/http://192.9.200.115:8060/ #webpic Alias/webpic "Z:/wcmdata/webpic" <directory "Z:/wcmdata/webpic" > Options-indexes multiviews followsymlinks Includes AllowOverride None Order Allow,deny Allow from all </Directory> <directory "D:/trs/trsekpv65_cluster_b1111/wcmdata/webpic/web-inf" > Deny from all </Directory> #ekp ALIAS/EKP "D:/TRS/TRSEKPV65_CLUSTER_B1111/TOMCAT/WEBAPPS/EKP" <directory "D:/TRS/TRSEKPV65_CLUSTER_B1111/TOMCAT/WEBAPPS/EKP" > Options-indexes multiviews followsymlinks Includes DirectoryIndex index.html AllowOverride None Order Allow,deny Allow from all </Directory> <directory "D:/trs/trsekpv65_cluster_b1111/tomcat/webapps/ekp/web-inf" > Deny from all </Directory> <Location/ekpcluster-manager> SetHandler Balancer-manager #Deny from all #设定可以访问管理器的主机 Allow from all </Location> </VirtualHost> |