[eluser]CroNiX[/eluser]
You'd need to post your .htaccess if that doesn't work.
Also, echo out the $_SERVER array from the top of your index.php and post the results.
I'd highly recommend looking into how to set up a virtual server in Apache so each of your projects would have it's own DOCUMENT_ROOT and also have a unique url that doesn't include the "project" directory, like "http://myproject.localhost", instead of "http://localhost/myproject". It also saves a LOT of time when developing/troubleshooting, as your working environments will be the same on both servers, your htaccess will be the same, your CI configs, etc.