在window服务器上用wamp搭建完环境后,输入IP地址,出现Forbiddenlinux
You don't have permission to access / onthis server.apache
Apache/2.4.23 (Win64) PHP/5.6.25 Server at123.207.226.239 Port 80服务器
错误。this
要隐藏红色部分的apache版本号和系统信息,在apache配置文件中(linux系统中是httpd.conf),找到以下两行:code
ServerSignature On ServerTokens Full
改成server
ServerSignature Off ServerTokens Prod