Tomcat WebDav禁用解决方法
tomcat*/conf/web.xml中,在web-app结束前增加如下配置
<security-constraint>
<web-resource-collection>
<url-pattern>/*</url-pattern>
<http-method>DELETE</http-method>
<http-method>PUT</http-method>
<http-method>TRACE</http-method>
<http-method>OPTIONS</http-method>
</web-resource-collection>
<auth-constraint>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
重启tomcat
1、因为很少登录,评论基本没有回复,见凉!
2、如果转载我的文章,请写明出处,谢谢!
3、有些文章为转载,如果您发现侵权,请联系删除,但回复可能需要较长时间