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

You can change PHP version from within your Godaddy hosting manager.


The 500 internal server error is showing up because there is something wrong with the .htaccess file.
If anyone know how to fix this, please let me know.
I checked the syntax but it's still not working.

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

<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]

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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