閱讀388 返回首頁    go 阿裏雲 go 技術社區[雲棲]


apache 版本信息控製

為提高安全性,  需要屏蔽 apache 版本信息及 php 版本信息

httpd.conf

include extra/httpd-defualt.conf

ServerTokens ProductOnly
ServerSignature Off

重啟 apache
現在 http 頭裏麵隻看到:
Server: Apache

隱藏 PHP 版本
php.ini

expose_php On
改成
expose_php Off

最後更新:2017-04-02 16:47:52

  上一篇:go Android係統中設置TextView的行間距(非行高)
  下一篇:go android: 不需要焦點的TextView跑馬燈 MarqueeTextView