1
Linux 討論版 / 關於FEDORA 3的apache問題
« 於: 2005-01-18 15:42 »
各位學長好:
請問一下,我將一顆硬碟切成 /var/www/html/public ,然後想將這一區用http開放給一般USER瀏覽(IE)。
但USER連結時出現下列錯誤訊息:
Forbidden
You don't have permission to access /public on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
/var/log/httpd/error_log訊息
[Tue Jan 18 15:39:33 2005] [error] [client 10.27.7.8] Directory index forbidden by rule: /var/www/html/
[Tue Jan 18 15:39:39 2005] [error] [client 10.27.7.8] (13)Permission denied: access to /public denied
/var/log/httpd/access_log訊息
10.27.7.8 - - [18/Jan/2005:15:39:33 +0800] "GET /icons/powered_by_fedora.png HTTP/1.1" 200 2243 "http://10.28.0.1/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
10.27.7.8 - - [18/Jan/2005:15:39:39 +0800] "GET /mason HTTP/1.1" 403 405 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
查資料,好像跟 chroot 有關,不知各位學長有沒遇過這樣的問題?
有沒有辦法解決?謝謝!!
請問一下,我將一顆硬碟切成 /var/www/html/public ,然後想將這一區用http開放給一般USER瀏覽(IE)。
但USER連結時出現下列錯誤訊息:
Forbidden
You don't have permission to access /public on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
/var/log/httpd/error_log訊息
[Tue Jan 18 15:39:33 2005] [error] [client 10.27.7.8] Directory index forbidden by rule: /var/www/html/
[Tue Jan 18 15:39:39 2005] [error] [client 10.27.7.8] (13)Permission denied: access to /public denied
/var/log/httpd/access_log訊息
10.27.7.8 - - [18/Jan/2005:15:39:33 +0800] "GET /icons/powered_by_fedora.png HTTP/1.1" 200 2243 "http://10.28.0.1/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
10.27.7.8 - - [18/Jan/2005:15:39:39 +0800] "GET /mason HTTP/1.1" 403 405 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
查資料,好像跟 chroot 有關,不知各位學長有沒遇過這樣的問題?
有沒有辦法解決?謝謝!!