簡體   English   中英

openshift上的PHP codeigniter應用程序顯示500內部服務器錯誤

[英]PHP codeigniter application on openshift showing 500 Internal Server Error

我已經使用PHP codeigniter在openshift上創建了一個應用程序。 使用git成功添加,提交和推送,但是當我單擊查看該應用程序時,它顯示:

內部服務器錯誤

服務器遇到內部錯誤或配置錯誤,無法完成您的請求。

這是我的申請鏈接

http://stw-ciapps.rhcloud.com/

主頁正在運行,但其他頁面無法打開。

http://stw-ciapps.rhcloud.com/home/provider

如何查看我的應用程序並擺脫此500錯誤。

將此代碼替換為舊的.htaccess文件

Options +FollowSymLinks
RewriteEngine On
#RewriteBase / #on server, uncomment this line by removing hash'#'
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php?/$0 [PT,L,QSA]

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM