标签:line security XML att pad quick miss code lin
把tomcat的webapps\solr\WEB-INF目录下的web.xml中如下代码注释掉就可以正常访问了
<security-constraint>
<web-resource-collection>
<web-resource-name>Disable TRACE</web-resource-name>
<url-pattern>/</url-pattern>
<http-method>TRACE</http-method>
</web-resource-collection>
<auth-constraint/>
</security-constraint>
<security-constraint>
<web-resource-collection>
<web-resource-name>Enable everything but TRACE</web-resource-name>
<url-pattern>/</url-pattern>
<http-method-omission>TRACE</http-method-omission>
</web-resource-collection>
</security-constraint>标签:line security XML att pad quick miss code lin
原文地址:http://www.cnblogs.com/anstoner/p/6892296.html