繁体   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