看板FreeBSD
标 题Re: 问一下Apache2的问题..
发信站不良牛牧场 (Thu Nov 25 02:32:03 2004)
转信站ptt!ctu-reader!ctu-peer!Spring!news.nctu!news.ntu!News.AU!news.ee.ntu!
※ 引述《abc <[email protected]>, 看板: T_386BSD》之铭言:
: ※ 引述 紫恋薰衣草之旅 ([email protected]) 之铭言
: > 补充一下...
: > www的权限已是755
: > 有在google查了一下这问题..
: > 回答似乎都是说权限不对...
: > 我改成777还是不行呀..XD
: > 连index.html也改755试过了..
: 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.
....你有打预设要开启的网页型态吗...
--
╭──── Origin:
<不良牛牧场> bbs.badcow.com.tw (210.200.247.200)─────╮
│ ↘ Welcome to SimFarm BBS -- From : [211.74.208.5] │
╰◣◣◢ ◢◢《不良牛免费拨接→电话:40586000→帐号:zoo→密码:zoo》 ◣◣◢ ─╯