文章作者: plrts @ 文章發表日期: 2008年 八月 19日 星期二 20:03:07
編輯Apache的設定檔
ServerTokens OS ← 找到這一行,將“OS”改為“Prod”(在出現錯誤頁的時候不顯示服務器操作繫統的名稱)
↓
ServerTokens Prod ← 變為此狀態
(閱讀全文)
ServerTokens OS ← 找到這一行,將“OS”改為“Prod”(在出現錯誤頁的時候不顯示服務器操作繫統的名稱)
↓
ServerTokens Prod ← 變為此狀態
(閱讀全文)
文章作者: plrts @ 文章發表日期: 2008年 八月 19日 星期二 20:00:39
http://httpd.apache.org/docs/2.2/mod/core.html#servertokens
This directive controls whether Server response
header field which is sent back to clients includes a
description of the generic OS-type of the server as well as
information about compiled-in modules.
ServerTokens Prod[uctOnly]- Server sends (e.g.):
Server: Apache ServerTokens Major- Server sends (e.g.):
Server: Apache/2 ServerTokens Minor- Server sends (e.g.):
Server: Apache/2.0 ServerTokens Min[imal]- Server sends (e.g.):
Server: Apache/2.0.41 ServerTokens OS- Server sends (e.g.):
Server: Apache/2.0.41 (Unix) ServerTokens Full(or not specified)- Server sends (e.g.):
Server: Apache/2.0.41 (Unix) PHP/4.2.2 MyMod/1.2
This setting applies to the entire server, and cannot be enabled or disabled on a virtualhost-by-virtualhost basis.
After version 2.0.44, this directive also controls the
information presented by the ServerSignature directive.




