标签:ada ros prot 访问 输入 地址 auto ctp style
<Host name="www.XXX.com" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Context path="" docBase="/usr/java/tomcat/webapps/项目名" debug="0" reloadable="false" crossContext="true"/> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> </Host> <Host name="IP地址" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Context path="" docBase="/usr/java/tomcat/webapps/项目名" debug="0" reloadable="false" crossContext="true"/> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> </Host> <Host name="admin.XXX.com" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Context path="" docBase="/usr/java/tomcat/webapps/项目名" debug="0" reloadable="false" crossContext="true"/> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> </Host>
二:将端口修改为80
<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
标签:ada ros prot 访问 输入 地址 auto ctp style
原文地址:http://www.cnblogs.com/-scl/p/7152203.html