• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter shared hosting 404 error

Hi all,

I am working with codeigniter 3.1.X.Everything is fine in localhost.All working normal with controllers and views.But when i hosted my application in hostgator cPanel the controllers stopped working and 404 error giving.The default controller working but no other controller is working.My .htaccess of application folder is as follows 

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
<IfModule authz_core_module>
    Require all denied
<IfModule !authz_core_module>
    Deny from all

it is very fine working in local host in all systems but not when hosted through Cpanel. Please help me in this regard i have tried REQUEST_URI index page  index.php.

I have checked for Mod_rewrite enable and it is also fine


Messages In This Thread
Codeigniter shared hosting 404 error - by srmarasu84 - 05-14-2019, 09:01 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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