免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2091 | 回复: 2
打印 上一主题 下一主题

thttpd删除后的疑问 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-07-20 13:56 |只看该作者 |倒序浏览
freeBSD 4.8 release 下用port安装过thttpd,后来删除了,重新安装apache,在httpd.conf 中DocumentRoot "/usr/local/apache/htdocs"
在/usr/local/apache/htdocs中存在index.html网页,
为何在浏览器中输入http://192.168.0.1 显示:

Index of /
mode  links  bytes  last-changed  name
--------------------------------------------------------------------------------
dr-x   2         512  Jul 18 18:35  ./
dr-x  26         512  Jul 13 23:17  ../
-r-x   1       36248  Jun  5 21:09  ab*
-r-x   1        7141  Jun  5 21:09  apachectl*
-r-x   1       22273  Jun  5 21:09  apxs*
-r-x   1       46498  Jun  2 20:43  cronolog*
-r-x   1        9673  Jun  2 20:43  cronosplit*
-r-x   1      220016  Aug 11  2002  cupsd*
-r-x   1      898676  Mar 23 09:53  cvsupd*
-r-x   1      359219  May 26 22:36  dhclient*
----   1        7248  May 26 22:36  dhclient-script
-r-x   1      516701  May 26 22:36  dhcpd*
-r-x   1      144882  May 26 22:36  dhcrelay*
-r-x   1      247523  Jun  5 21:09  httpd*
-r-x   1        6504  Jun  5 21:09  logresolve*
-r-x   1        5340  Jun  5 21:09  rotatelogs*
lrwx   1           5  May 24 14:20  sshd ->; sshd2*
-r-x   1      465272  Apr 19 20:10  sshd-check-conf*
-r-x   1      765228  Apr 19 20:10  sshd2*

以上文件均在/usr/local/apache/bin及/usr/local/apache/sbin中!
怎样才能正确显示该index.html页面?

论坛徽章:
0
2 [报告]
发表于 2007-08-03 10:09 |只看该作者
是不是没删干净?
主机地址设置对了吗?

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
3 [报告]
发表于 2007-08-03 10:19 |只看该作者

  1. <Directory "/WWW">
  2.       Order allow,deny
  3.       Allow from all
  4. </Directory>
复制代码

你这里是怎么设置的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP