Getting Codeigniter to work on localhost with xampp
That's not how CodeIgniter URLs work. It should be:
http://path/to/codeigniter/index.php/<controller>/<function>/<param>
So, in your case, it should be:
http://localhost/project1/CodeIgniter_2.1.0/index.php/hello
$config['base_url']
should be set to the index.php
, so it should be:
$config['base_url'] = 'http://localhost/project1/CodeIgniter_2.1.0/index.php';