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/"/>