我的一個朋友與許多託管的網站共享主機。在rails,php,xslt/xml網站上使用mysql或postgress有紅寶石。今天,XSLT網站之一顯示此錯誤:非紅寶石網站上的紅寶石錯誤
Passenger error #2 An error occurred while trying to access '..../config/environment.rb': Cannot stat '..../config/environment.rb': Permission denied (13) Apache doesn't have read permissions to that file. Please fix the relevant file permissions.
這是,因爲我知道,紅寶石錯誤(* .RB),但這裏沒有紅寶石的應用程序!並沒有任何配置/目錄。 錯誤日誌說:
(13)Permission denied: /home/..../.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
在htdocs目錄的.htaccess文件存在,並且具有777權限了。 我不知道這是什麼意思。
這裏沒有nginx。在這個網站的虛擬主機的配置文件中,現在有這樣的選項。 – elisium 2010-09-21 12:56:49