I need some help to configure Codeigniter on my free hosting.
I'm using CodeIgniter 3.0 and Hostinger for my website.
I have my config.php as:
$config['base_url'] = 'http://mysite/';
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
And I configure the .htaccess as said in this topic: Codeigniter website 404 error / .htaccess
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]
And even with this I still get the 404 Page not found from Codeigniter, what am I missing? or what am I doing wrong? I'm new in this so if you need to see something else tell me and I'll upload it. Thanks!
EDIT: I forgot to mention that in my localhost is working, but on live is when I get the 404 Error.