测试:
curl -v -X OPTIONS http://localhost:8080/a/
curl -v -X OPTIONS http://localhost:8080/b.jsp
Tomcat的Web.xml中添加如下配置:
<security-constraint>
<web-resource-collection>
<url-pattern>/*</url-pattern>
<http-method>PUT</http-method>
<http-method>DELETE</http-method>
<http-method>HEAD</http-method>
<http-method>OPTIONS</http-method>
<http-method>TRACE</http-method>
</web-resource-collection>
<auth-constraint></auth-constraint>
</security-constraint>
相关推荐
tomcat 6/7/8 自带防暴力破解机制,通过塞满cache,挤出已锁定账号,实现完美绕过。
http://tomcat.apache.org/download-70.cgi http://tomcat.apache.org/download-70.cgi
tomcat包含7/8/9各个版本
tomcat中间件禁用webdav方法 通过本方法,可以完成所有运行于该tomcat之上的java项目均拦截webdav方法。
NULL 博文链接:https://lindows.iteye.com/blog/213348
Tomcat3/4/5/6/7/8/9/10Windows(32/64位)、linux解压/安装版下载(官网历史所有版本)
tomcat7.0.88/tomcat8.5.37/tomcat 9.0.10 供需要的小伙伴下载
官方最新版tomcat 7.0.35 windows 32/64位安装版
How Tomcat Works 中文版/英文版 以及源码
tomcat7.59/7.65/7.79三个版本都是Linux版本阿里云Centos7运行无问题
apache-tomcat-8.0.21 32/64安装版
eclipse plugin tomcat http://blog.csdn.net/yuanfei_1988 link安装方式
最新tomcat7+nginx/tengine+memcached共享session的jar包2016年12月自己更新使用,更新的jar包解决了tomcat7下attribute报错的问题,理论Tomcat8以上版本可用,请自己测试。 asm-5.1.jar kryo-4.0.0.jar kryo-...
禁用RC4(SSL/TLS 受诫礼(BAR-MITZVAH)攻击漏洞(CVE-2015-2808)【原理扫描】) 编缉$CATALINA_HOEM/conf/server.xml配置文件,找到https端口配置处,修改如下: 复制代码 maxThreads="150" SSLEnabled="true" ...
window 64位的Tomcat8都在这里,需要的下载的同学欢迎下载哦
Tomcat/Servlet/Response/Cookie/Session/HTTP/Request
Tomcat-7.0 / 8.0/ 8.5版本,各个版本均为目前开发主流版本,稳定,完整,纯净,rar格式,解压直接使用。
32位的Tomcat678都在这里,需要的童靴欢迎下载