tomcat上线域名访问问题解决

		<Host name="www.xxx.com"  appBase="webapps"
							unpackWARs="true" autoDeploy="true">
			<Context path="/" docBase="znbsite" />
			<Context docBase="D:\data\upload"  reloadable="true"  debug="0" path="/znbsite/static/tinymce/upload/"/>
		</Host>

  问题点:

path="/"

斜杠;
2、配置虚拟路径:
<Context docBase="D:\data\upload"  reloadable="true"  debug="0" path="/znbsite/static/tinymce/upload/"/>
posted @ 2018-03-19 11:40  hoge  阅读(105)  评论(0编辑  收藏  举报