[eluser]Mr Lazy[/eluser]
Hi,
I have developed an application locally and it is now time to move it to the server.... and the site doesn't work : ( I get the CI "404 Page Not Found" page, so I guess CI is running but it can't find a page. I am guessing the controller defined in routes.php.
OK, as I have read it is good practice, I have the following in my config.php to make everything more portable:
Code:
$config['base_url'] = "http://".$_SERVER['HTTP_HOST'];
$config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
and I have done this as recommended in the troubleshooting in the user guide (again in the config.php):
Code:
$config['index_page'] = "index.php?";
and I have tried changing the URI protocol in config.php. All of these things have no effect.
What could be wrong here? Being new to CI I don't know how to proceed and problem solve.
Thanks in advance,
L.