看板FreeBSD
标 题Re: 问一下Apache2的问题..
发信站新竹师院风之坊 (Thu Nov 25 07:38:52 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!news.NHCTC!nhctc_bbs
※ 引述《[email protected] (没事可以Q我)》之铭言:
> ※ 引述《abc <[email protected]>, 看板: T_386BSD》之铭言:
> : Forbidden
> : You don't have permission to access / on this server.
> : 很清楚的说是权限不对呀
> : 您确定 http.conf 没错 ?
> : 所谓的权限不仅是档案系统的权限而已
> : 您的 httpd.conf 里面 DocumentRoot 的 Directory 权限
> : 以及 Options 的设定 Indexes 与否
> : 或者 allow deny 都会造成 403 Forbidden 的情形 ...
> : 一般而言 Apache 安装好不用改设定档也动得了
> : 以您的情况还有可能是弄错 DocumentRoot 位置呢 ?
> : ---
> : Posted via news://freenews.netfront.net
> : Complaints to [email protected]
> 开机不启动吗...
> #
> # Add the following lines to /etc/rc.conf to enable apache2:
> # apache2_enable (bool): Set to "NO" by default.
> # Set it to "YES" to enable apache2
> # apache2ssl_enable (bool): Set to "NO" by default.
> # Set it to "YES" to start apache with SSL
> # (if <IfDefined SSL> exists in httpd.conf)
> # apache2limits_enable (bool):Set to "NO" by default.
> # Set it to yes to run `limits $limits_args`
> # just before apache starts.
> # apache2_flags (str): Set to "" by default.
> # Extra flags passed to start command
> # apache2limits_args (str): Default to "-e -C daemon"
> # Arguments of pre-start limits run.
> #
> 这些注意依下,在rc.d/apache2.sh 里的这个叙述有没有做
> Forbidden
> You don't have permission to access / on this server.
> ....你有打预设要开启的网页型态吗...
有...
设定过了...
用http下载档案可以...
但开网页不行...
直接指定也是..
error_log的讯息是..
[Wed Nov 24 16:08:48 2004] [error] [client ip ] client denied by
server configuration: /root/www/
/root/www是我指定的 Virtualhost 里的 DocumentRoot
--
To be , or not to be.
--
○ Origin: 新竹师院 风之坊﹝bbs.NHCTC.edu.tw﹞From: pc93.ltps.ilc.edu.tw