标签:
打开tomcat6\conf\server.xml文件
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="192.168.1.*,192.168.2.*,*.mysite.com" deny=""/>
<Context path="/myweb" reloadable="true" docBase="E:\tomcat6\webapps\myweb"> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="192.168.13.110,192.168.1.*,220.250.13.21" deny=""/> </Context>
<Valve className="org.apache.catalina.valves.RemoteHostValve" allow="tmachine1" deny=""/>
标签:
原文地址:http://www.cnblogs.com/linjian/p/4830493.html