Apache 2 Test Page问题的解决办法

发布时间:2020-03-14编辑:脚本学堂
安装并配置完成Apache2.2和php 5.2.14后,首次用httpd启动时出现Apache 2 Test Page,并有如下提示:
This page is used to test the proper operation of the Apache HTTP server after it has been installed.

安装并配置完成apache2.2和php 5.2.14后,首次用httpd启动时出现Apache 2 Test Page,并有如下提示:
This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page it means that the Apache HTTP server installed at this site is working properly.
 
解决方法
1. 找到一个叫做welcome.conf的文件,一般在/etc/httpd/conf.d
2. 把这个文件的所有行都注释掉,即前面加上#,这样就不会执行此Apache 2测试页面了。