How to configure a multi-site cluster using apache + tomcat

Source: Internet
Author: User
Open the httpd. conf file and cancel the comments of the five lines below to open the. so support module required by the proxy. ViewCode1 # LoadModuleproxy_http_modulemodules/mod_proxy_http.so2 # LoadModuleproxy_connect_modulemodules/mod_proxy... open the httpd. conf file and cancel the annotation of the following five lines to open the. so support module required by the proxy. View Code 1 # LoadModule proxy_http_module modules/modules 2 # LoadModule proxy_connect_module modules/modules 3 # LoadModule proxy_module modules/modules 4 # LoadModule proxy_ajp_module modules/modules # LoadModule proxy_module modules/modules cancel the VM note # Include conf/extra/httpd-vhosts.conf how to configure a multi-site cluster ServerName html580.com ServerAlias * extends ProxyIOBufferSize 8192 ProxyRequests Off ProxyVia Full # ProxyPass/http: // localhost: 8080/smax = 5 max = 20 ttl = 120 retry = 300 # ProxyPass/balancer: // proxy/stickysession = jsessionid nofailover = On ProxyPass/balancer: // proxy/lbmethod = bytraffic BalancerMember http: // localhost: 8080/loadfactor = 15 BalancerMember http: // localhost: 8081/loadfactor = 10   ServerName jinjingdomaincom ServerAlias * .jinjingdomaincom ProxyIOBufferSize 8192 ProxyRequests Off ProxyVia Full ProxyPass/balancer: // proxy1/lbmethod = bytraffic BalancerMember http: // localhost: 8082/loadfactor = 15 BalancerMember http: // localhost: 8083/loadfactor = 10 # ProxyPassReverse/bay balancer: // proxy1/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.