@websec007
2017-10-23T04:59:48.000000Z
字数 650
阅读 1681
未分类
/apache-tomcat-xxxx/conf/server.xml
<Connector />标签的内部添加一个server属性即可。
<Connector port="8080" protocol="HTTP/1.1"connectionTimeout="20000"redirectPort="8443" server='Response_Server_tag' />
server='Response_Server_tag,随后重启Tomcat服务即可。
C:\Users\admin>curl -I http://127.0.0.1:8080HTTP/1.1 403 ForbiddenPragma: No-cacheCache-Control: no-cacheExpires: Thu, 01 Jan 1970 08:00:00 CSTContent-Type: text/html;charset=utf-8Content-Length: 1108Date: Mon, 23 Oct 2017 04:47:16 GMTServer: Response_Server_Tag

