lrstom 发表于 2013-1-26 14:42:17

tomcat配置

tomcat里配置路径
<Host name="www.sheng.com"appBase="webapps"            unpackWARs="true" autoDeploy="true"            xmlValidation="false" xmlNamespaceAware="false">   <Context path="" docBase="cheapso" debug="0" reloadable="true"/> </Host> 
C:\WINDOWS\system32\drivers\etc\下文件hosts,用记事本打开...
# copyright (c) 1993-1999 microsoft corp.## this is a sample hosts file used by microsoft tcp/ip for windows.## this file contains the mappings of ip addresses to host names. each# entry should be kept on an individual line. the ip address should# be placed in the first column followed by the corresponding host name.# the ip address and the host name should be separated by at least one# space.## additionally, comments (such as these) may be inserted on individual# lines or following the machine name denoted by a '#' symbol.## for example:##      102.54.94.97   rhino.acme.com          # source server#       38.25.63.10   x.acme.com            # x client host127.0.0.1       localhost127.0.0.1www.sheng.com 
页: [1]
查看完整版本: tomcat配置