作者DRLai (蘇打)
看板Linux
標題[問題] FC上使用apache會出現Forbidden
時間Sat Jun 28 09:21:12 2008
最近裝了一台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.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.138.145.197
1F:→ devil99:try sudo a2enmod userdir 、apache2 restart 06/28 10:24