FC上使用apache會出現Forbidden - Linux

By Doris
at 2008-06-28T09:21
at 2008-06-28T09:21
Table of Contents
最近裝了一台FC8來當Server
可是有點奇怪,我安裝好apache2.2並且設定好啟動
結果只有http://(ip)/ 這個網頁能開
其他user的http://(ip)/~user 的網頁都會顯示Forbidden
httpd.conf中,我已經開啟UserDir
把預設的public_html改成www
我在網路上查此問題,網路上的寫法是SELinux的關係
後來我直接把SELinux設定為disabled
一樣會出現Forbidden
我看到的另一個指令是使用chcon -R bal bal...
但是那個指令也出現錯誤(一時找不到那個指令,晚點找到補上)
請問有人有相同的問題嗎?
目前所有User的網頁都沒辦法進入
就算權限設定為755也一樣不行@~@
--
▊ ◥ thePainter. ◤ ▎
▊ ◣◢ ◣ ◤ ◣ ◤ ▎
▊ ◥◤ ◣ ◤ ◤ ▎ http://www.wretch.cc/blog/myelf
▊ ◥ ◢ ◤ ◤ ◤ ▎ Wretch@BBS -> P_myelf
▊ ◢◤ thePainter. ◣ ▎ φthePainter.
--
可是有點奇怪,我安裝好apache2.2並且設定好啟動
結果只有http://(ip)/ 這個網頁能開
其他user的http://(ip)/~user 的網頁都會顯示Forbidden
httpd.conf中,我已經開啟UserDir
把預設的public_html改成www
我在網路上查此問題,網路上的寫法是SELinux的關係
後來我直接把SELinux設定為disabled
一樣會出現Forbidden
我看到的另一個指令是使用chcon -R bal bal...
但是那個指令也出現錯誤(一時找不到那個指令,晚點找到補上)
請問有人有相同的問題嗎?
目前所有User的網頁都沒辦法進入
就算權限設定為755也一樣不行@~@
--
▊ ◥ thePainter. ◤ ▎
▊ ◣◢ ◣ ◤ ◣ ◤ ▎
▊ ◥◤ ◣ ◤ ◤ ▎ http://www.wretch.cc/blog/myelf
▊ ◥ ◢ ◤ ◤ ◤ ▎ Wretch@BBS -> P_myelf
▊ ◢◤ thePainter. ◣ ▎ φthePainter.
--
Tags:
Linux
All Comments

By Damian
at 2008-06-29T00:34
at 2008-06-29T00:34
Related Posts
請問NIS環境下 一般Users ypchsh 這個指令到底有用嗎?

By Suhail Hany
at 2008-06-28T01:22
at 2008-06-28T01:22
mplayer & avi

By Kyle
at 2008-06-27T19:59
at 2008-06-27T19:59
mplayer & avi

By Leila
at 2008-06-27T19:21
at 2008-06-27T19:21
block number位於那個cylinder

By Skylar Davis
at 2008-06-27T17:33
at 2008-06-27T17:33
安裝gcc卡住

By Carolina Franco
at 2008-06-27T16:57
at 2008-06-27T16:57