Re: 問一下Apache2的問題..

看板FreeBSD作者時間21年前 (2004/11/25 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/8 (看更多)
※ 引述《sbaby.bbs@bbs.badcow.com.tw (沒事可以Q我)》之銘言: > ※ 引述《abc <abc@dyn.yi.org>, 看板: 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 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. > ....你有打預設要開啟的網頁型態嗎... 有... 設定過了... 用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
文章代碼(AID): #11fI2-00 (FreeBSD)
文章代碼(AID): #11fI2-00 (FreeBSD)