|
安装默认的http服务,
拷贝到/var/www/html 一个简单的index.php
浏览器输入http://192.168.0.1
显示 RH 的"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.
If you are the website administrator:
You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page, and not your content. To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf.
You are free to use the images below on an Apache and Red Hat powered HTTP servers. Thanks for using Apache and Red Hat Enterprise Linux!
如果http://192.168.0.1/index.php,就会出错:
Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.46 (Red Hat) Server at fanlix Port 80
我把那个/etc/httpd/conf.d/welcome.conf.文件都删除了, 还是这个页面
以前设置过一次, 什么问题都没有的,,,到底怎么了? |
|