简体   繁体   中英

PHP codeigniter application on openshift showing 500 Internal Server Error

I have created an application on openshift with PHP codeigniter. Added, committed, and pushed successfully using git, but when I click to view the application it shows:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

here is my link to application

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

home page is working, but other pages not opening.

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

How can I view my application and get rid of this 500 error.

Replace this code with your old .htaccess file

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]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM