I have finished a project and it works fine with my local server however when I put it on a live server, it gives me 404 Not Found - 404.html when I tried to access other pages. Only index.php is working the rest is not. I am using codeigniter 2.2.0. To check if there's a problem with my code I uploaded default codeigniter. I have only two pages welcome.php and one.php. Here's the live url, http://www.fhi365.com/
here is my config file.
$config['base_url'] = 'http://www.fhi365.com/';
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
Here is my constant
define('BASEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/index.php/');
here is my route
$route['default_controller'] = "welcome";
$route['404_override'] = '';
Here is my controller
public function index()
{
$this->load->view('welcome_message');
}
public function one(){
$this->load->view('one_view');
}
I did not touch .htacces.
Can somebody help me.
Thanks.