当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > rh9.0的apache怎么没有htdoc这个文件夹啊

Unix/Linux
Linux指令篇:DOS相容指令--mattrib
LinuxShadow-Password-HOWTO-4.编译程式
Linux每次启动时钟日期就多了8小时
RedhatLinux升级SSH笔记
Linux常用命令(备份与压缩)
LinuxShadow-Password-HOWTO-9.常问问题及答案
Linux常用命令(文件的复制、删除和移动)
轻轻松松的安装SlackwareLinux--2.作业系统安装初步
Linux网管123---第9章.各种杂项管理工作-2.管理进程
RedHat6.0大量建帐号的方法
汉化你的RedHat全攻略(3)-RedHat7.0上的中文环境和输入法
Linux指令篇:工作行程资讯与管理--skill
Linux指令篇:工作行程资讯与管理--renice
Linux指令篇:工作行程资讯与管理--ps
Linux指令篇:工作行程资讯与管理--nice
Linux指令篇:讯息传送与信件管理--write
Linux指令篇:讯息传送与信件管理--talk
Linux指令篇:讯息传送与信件管理--newaliases
Linux的shell编程
第一篇Blog文章

Unix/Linux 中的 rh9.0的apache怎么没有htdoc这个文件夹啊


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 62 ::
收藏到网摘: n/a


以前我用apache 时,apache的test page是在htdocs下面。但是在rh9里面我怎么也找不到这个文件夹和这个文件了
sakulagi 回复于:2003-11-19 21:44:06 If you check the httpd.conf shipped within RH9, you'll find that the default DocumentRoot is /var/www, not htdoc.
lingg2002 回复于:2003-11-19 22:11:38 but test page also not in /var/www or /var/www/html
sakulagi 回复于:2003-11-19 22:20:33 the test page is a error handling page of "HTTP 403" for disabled "autoindex".
The physical file is /var/www/error/noindex.html.
In short, if you have not a index.html(or index.htm or sth. else designated in httpd.conf by directive "DirectorIndex") in your Apaceh's "DocumentRoot", the noindex.html in /var/www/error will be displayed.
All these configuration can be customized in httpd.conf by yourself.
lhp1210 回复于:2003-11-19 22:41:41 怎么会没有呢!!!
FIND / -NAME HTDOCS吗!
好象在/USR/LOCAL/APACHE下呀!
sakulagi 回复于:2003-11-19 23:20:12 如果是rh9自带的就没有。

blueproton 回复于:2004-04-07 08:53:43 在/var/www/html下找不到我用DNS域名解析成功后默认对应的那个test page 可是配置文件里已经写好的是documentroot /var/www
AutoSPy 回复于:2004-04-08 08:34:19 直接修改 httpd.conf 好了