看板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