<?xml version="1.0" encoding="UTF-8"?> <virtualHostConfig> <docRoot>/var/www</docRoot> <enableGzip>0</enableGzip> <adminEmails></adminEmails> <extProcessorList> <extProcessor> <type>proxy</type> <name>web01</name> <address>web01.xxx.com:80</address> <maxConns>1000</maxConns> <pcKeepAliveTimeout>3600</pcKeepAliveTimeout> <initTimeout>2</initTimeout> <retryTimeout>2</retryTimeout> <respBuffer>0</respBuffer> </extProcessor> <extProcessor> <type>proxy</type> <name>web02</name> <address>web02.xxx.com:30001</address> <maxConns>1000</maxConns> <pcKeepAliveTimeout>3600</pcKeepAliveTimeout> <initTimeout>2</initTimeout> <retryTimeout>2</retryTimeout> <respBuffer>0</respBuffer> </extProcessor> <extProcessor> <type>loadbalancer</type> <name>static</name> <workers>proxy::web01, proxy::web02</workers> </extProcessor> </extProcessorList> <contextList> <context> <type>loadbalancer</type> <uri>/</uri> <handler>static</handler> <allowOverride>0</allowOverride> <realm></realm> <authName></authName> <required></required> <accessControl> <allow></allow> <deny></deny> </accessControl> <authorizer></authorizer> <addDefaultCharset>off</addDefaultCharset> <defaultCharsetCustomized></defaultCharsetCustomized> </context> </contextList> </virtualHostConfig>