2013-07-30 102 views
2

我已將應用程序上載到bluehost服務器上。我已將其上傳至public_html。CakePHP應用程序在bluehost服務器上出現500錯誤

htacces上根 /.htaccess許可644

<IfModule mod_rewrite.c> 
    RewriteEngine on 
    RewriteRule ^$ app/webroot/ [L] 
    RewriteRule (.*) app/webroot/$1 [L] 
</IfModule> 

/app/.htaccess許可644

<IfModule mod_rewrite.c> 
    RewriteEngine on 
    RewriteRule ^$ webroot/ [L] 
    RewriteRule (.*) webroot/$1 [L] 
</IfModule> 

/app/webroot/.htaccess許可644

<IfModule mod_rewrite.c> 
    RewriteEngine On 
    RewriteCond %{REQUEST_FILENAME} !-d 
    RewriteCond %{REQUEST_FILENAME} !-f 
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] 
</IfModule> 

網址是http://consumersinchrist.org/。請幫忙。

+1

如果你有一個500錯誤,你必須檢查你的Apache錯誤日誌,看看它是什麼。它可能與.htaccess有關,也可能是PHP錯誤。 –

+0

這個問題似乎是脫離主題,因爲只有一個鏈接到一個網站(現在工作),沒有日誌信息。 – AD7six

回答

0

這是一個新的房東嗎?當我切換主機時,通常需要一個獨特的小配置來完成我的自定義應用程序的工作。

簽出BlueHost的這些鏈接:

Help 1 Help 2

1

轉到cpanel-> PHPConfig並啓用FastCGI的,它會像一個魅力:)

相關問題