|
HTTP,MySQL,Apache,PHP,Linux,Server,SEO,google,Ports,Network,Remove Pass-phase,SSL,Installation,缓存,Cache,Proftpd,FTP,Index,新闻组,Myspace,Discuz,IIS,Mambo,MySQL Remote Access,因特网,Internet,美国企业,重定向,Indy Li
| 阅读上一个主题 :: 阅读下一个主题 |
| 留言 |
|
How to Change Apache's Sever:Apache header
|
|
| |
|
发布人: Mrs LA
发布于: 2008/02/01, 6:57 pm
|
|
Not like IIS, you can completely remove Server header from response. The simply way is to minize the header's output by changing two propery in httpd.conf
ServerSignature Off
ServerTokens Prod
ServerTokens tell apache to show only Apache not dispose other information
In Apache 2.2's httpd.conf, you may not able to find these two properties, but you can paste them to the end of the configuration file
The final output will like:
HTTP/1.1 200 OK
Date: Sat, 02 Feb 2008 02:51:40 GMT
Server: Apache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Last-Modified: Sat, 02 Feb 2008 02:51:41 GMT
Cache-Control: post-check=0, pre-check=0
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 6536
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
|
|
|
|
|
|
返回页首
|
|
 |
|
热门标签: HTTP(8), MySQL(7), Apache(4), PHP(4), Linux(2), Server(2), SEO(2), google(2), Ports(1), Network(1), Remove Pass-phase(1), SSL(1), Installation(1), 缓存(1), Cache(1), Proftpd(1), FTP(1), Index(1), 新闻组(1), Myspace(1), Discuz(1), IIS(1), Mambo(1), MySQL Remote Access(1), 因特网(1), Internet(1), 美国企业(1), 重定向(1), Indy Library(1), 攻击(1)
|
相关搜索: apache header(7), apache change chinese(2), apache header set content-type(2), disable apache header(2), change header apache(2), Indy keepalive(1), apache head添加(1), change apache's timeout(1), change apache encoding header(1), i want to change in connection.php in joomla(1), apache http head version(1), how to change apache header info(1), apache-header change(1), apache http header Keep-Alive: timeout=5, max=100(1), apache 添加 header(1)
|
|