解决tomcat支持在linux访问软链接,在下面配置文件修改如下:
conf/context.xml 文件:
<!-- Tomcat 7: -->
<Context allowLinking="true" />
<!-- Tomcat 8: -->
<Context>
<Resources allowLinking="true" />
</Context>
本文介绍如何在Linux环境下配置Tomcat,允许访问软链接,提供了适用于Tomcat7和Tomcat8的配置方法。
解决tomcat支持在linux访问软链接,在下面配置文件修改如下:
conf/context.xml 文件:
<!-- Tomcat 7: -->
<Context allowLinking="true" />
<!-- Tomcat 8: -->
<Context>
<Resources allowLinking="true" />
</Context>
642
9901
4016
850

被折叠的 条评论
为什么被折叠?