复制代码 代码如下:
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8" />
复制代码 代码如下:
<Engine defaultHost="localhost">
复制代码 代码如下:
<Host debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Logger className="org.apache.catalina.logger.FileLogger" directory="D:/webroot/aaa/logs" prefix="aaa_log." suffix=".txt" timestamp="true"/>
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="D:/webroot/aaa/logs" prefix="aaa_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
<Context path="" docBase="D:/webroot/aaa"></Context>
</Host>
<Host debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Logger className="org.apache.catalina.logger.FileLogger" directory="D:/webroot/bbb/logs" prefix="bbb_log." suffix=".txt" timestamp="true"/>
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="D:/webroot/bbb/logs" prefix="bbb_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
<Context path="" docBase="D:/webroot/bbb"></Context>
</Host>
新闻热点
疑难解答
图片精选