我跟着https://help.ubuntu.com/10.04/serverguide/C/index.html 設置我的Ubuntu的服務器的Apache2的.htaccess在Ubuntu的Apache2 + + + RVM乘客+錯誤軌道
安裝
- 的Apache2,MySQL和ImageMagick的,...爲 「根」而不是「sudo」
- 「rvm」作爲用戶。乘客如用戶
當我訪問我的網站的軌道,我得到這個錯誤在/var/log/apache2/error.log
(13)Permission denied: /home/my_home_directory/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
- 我缺少的是在這裏嗎?
- 我是否通過將 基本軟件包安裝爲「root」而不是「sudo」來執行某些非常錯誤的操作? (如何解決,如果有的話)
愚蠢的錯誤。 :)我的用戶的主文件夾沒有世界可讀的權限。將/ home/user_directory更改爲755並運行。 – ramonrails 2012-03-16 07:29:06