开发者

How to hide the 'server' parameter in the apache2 http response header?

My 开发者_Python百科question is posed in the title. But I ask also, instead of hiding it, isn't it possible to replace it by a custom value? Maybe over php or by editing the apache2 config?

Thank's in advance!


You could use mod_security for Apache, there is a directive called SecServerSignature it allows you to change the value of the Server header.

Another way would be to edit the the source code :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜