Re: 問一下Apache2的問題..
※ 引述《abc <abc@dyn.yi.org>, 看板: T_386BSD》之銘言:
: ※ 引述 紫戀薰衣草之旅 (cyk.bbs@bbs.nhctc.edu.tw) 之銘言
: > 補充一下...
: > 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 news@netfront.net
開機不啟動嗎...
#
# 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》 ◣◣◢ ─╯
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章