- 论坛徽章:
- 0
|
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页面? |
|