• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
500 Internal Server Error

#13
To make Code Igniter code work on Shared host, have this in your htaccess file:

Code:
<IfModule mod_rewrite.c>
  RewriteEngine On
  # !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading
  #  slashes.
  # If your page resides at somewhere different from public_html. e.g
  #  http://www.example.com/mypage/test1
  # then use
  # RewriteBase /mypage/test1/ else just use forward slash.
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Reply


Messages In This Thread
500 Internal Server Error - by jjt - 12-10-2015, 08:40 AM
RE: 500 Internal Server Error - by RobertSF - 12-10-2015, 12:44 PM
RE: 500 Internal Server Error - by solidcodes - 12-10-2015, 02:28 PM
RE: 500 Internal Server Error - by jjt - 12-18-2015, 03:57 AM
RE: 500 Internal Server Error - by solidcodes - 12-18-2015, 01:56 PM
RE: 500 Internal Server Error - by RobertSF - 12-19-2015, 03:13 PM
RE: 500 Internal Server Error - by jjt - 12-29-2015, 09:02 PM
RE: 500 Internal Server Error - by mwhitney - 12-30-2015, 08:33 AM
RE: 500 Internal Server Error - by jjt - 01-12-2016, 03:01 AM
RE: 500 Internal Server Error - by RobertSF - 01-12-2016, 07:50 AM
RE: 500 Internal Server Error - by Diederik - 01-12-2016, 09:09 AM
RE: 500 Internal Server Error - by goneewindy - 02-27-2016, 12:10 PM
RE: 500 Internal Server Error - by scriptman - 06-24-2018, 05:55 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.