|
Linux localhost.localdomain 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux
httpd-2.0.54-10
[root@localhost html]# ls -l 1.html 1.php abcd.html
-rw-r--r-- 1 root root 10 12月 5 15:12 1.html
-rw-r--r-- 1 root root 17 12月 5 14:58 1.php
-rw-r--r-- 1 root root 12 12月 5 15:24 abcd.html
[root@localhost html]# cat 1.html
dsfdsfsdf
[root@localhost html]# cat 1.php
<? phpinfo(); ?>
[root@localhost html]# cat abcd.html
adfsgfsddsg
3个文件在同一个文件夹/var/www/html
只要把abcd.html在DirectoryIndex设置为主页 就出现下面的错误信息,被拒绝访问
其他二个正常 而且把其他的设置为主页面,后面加上
http://ip/abcd.html
也是这个问题
Forbidden
You don't have permission to access /abcd.html on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/2.0.54 (Fedora) Server at 192.168.1.112 Port 80
我现在死活找到不原因
请大家指点下吧 |
|