分类: 网络与安全
2012-06-01 09:46:01
[root@FTP-221 conf]# vi /usr/local/2/conf/httpd.Conf
//找到httpd-default.conf,删除includes前面的“#”,改成如下
# Various default settings
Include conf/extra/httpd-default.conf
[root@FTP-221 conf]# vi /usr/local/apache2/conf/extra/httpd-default.conf
//找到
ServerTokens Full
ServerSignature On
改成
ServerTokens Prod
ServerSignature off
如下截图:
[root@FTP-221 extra]# /usr/local/apache2/bin/apachectl restart
//重启测试,打开页面