I've tried change my .htaccess file many times on my server (Linux, php CGI/FastCGI)
My web hosting is a reseller hosting and i have both panels the CP and WHM
But when i upload my entire website i only receive 404 errors and follow my config,htaccess and controller files and the folder structure
Folder Structure
/
index.php
/application/
/application/views [Contains main view (index page)]
/application/controllers [Contains the main controller]
As the default from Code Igniter (3.0)
.htaccess file [First time]
DirectoryIndex index.php
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]
.htaccess file [Second Time]
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|fonts|img|css|js|dashboard|support|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Config file
$config['base_url'] = '/';
$config['index_page'] = 'index.php?';
$config['uri_protocol'] = 'REQUEST_URI';
Error Log
ERROR - 2015-02-06 14:53:34 --> 404 Page Not Found: /index
ERROR - 2015-02-06 14:53:35 --> 404 Page Not Found: /index
ERROR - 2015-02-06 14:54:01 --> 404 Page Not Found: /index
i tried to change URI Protocol to all options possible in the CI, changed the htaccess, deleted the access.
For now nothing worked for me
My base url site is http://pixelvision.com.br/
The website works wells on my local webserver (Easy PHP Dev/Production) And dont return any error when is running on my local web server.
But when i send the entire website (update the config files) and try to run return for all controllers the 404 error