create symbolic link for access file using tomcat 9 - not working

﹥>﹥吖頭↗ 提交于 2020-04-17 15:31:59

问题


I am migrating tomcat 7 to tomcat 9.0.33, below are the symbolic link access config for tomcat 7 but the link is not working on tomcat, can anyone pls suggest how to fix this

<?xml version='1.0' encoding='utf-8'?> <Context path="/" docBase="/usr/local/apache-tomcat-7.0.63/webapps/ROOT" allowLinking="true" deployXML="false">


回答1:


in tomcat 9 & 8 need to add into tomcat/conf/context.xml

<Context> <Resources allowLinking="true" /> ....

got help from here



来源:https://stackoverflow.com/questions/60983938/create-symbolic-link-for-access-file-using-tomcat-9-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!