Welcome Guest, Not a member yet? Register   Sign In
Codeigniter shared hosting 404 error
#1

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 

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

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


</code>
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB