【发布时间】:2015-01-28 06:23:33
【问题描述】:
我已将以下代码添加到我网站根文件夹中的 .htaccess 文件中:
# Disable server signature
ServerTokens ProductOnly
ServerSignature Off
# END SCCC
这会导致我的网站崩溃:
Internal Server Error:
The server encountered an internal error or misconfiguration and was
unable to complete your request.
删除servertokens 行,它按预期工作并删除签名。
我应该如何禁用服务器令牌?如果我要禁用签名,我什至需要这样做吗?
【问题讨论】: