Running Remote Code igniter Project on Local WAMP server

Hi ,
I am new bee to codeigniter and this is my first post on sitepoint.I have downloaed a Live codeigniter project from remote server and i want to run it on my LOCAL WAMP server.Whenever ,i click on the Project Link on from WAMP server.It constantly redirects me to the same folder.I mean if I choose a project (http://localhost/Wha) from localhost,it takes me to (http://localhost/Wha/Wha/) again and again.I have modified the apache httpd file and turned the mod_rewrite on but still not working.
My httaccess within the codeigniter root looks like this :

RewriteEngine on
RewriteCond $1 !^(index\.php|images|lists|eshots|useruploads|temp|SpryAssets|css|js|robots\.txt|timthumb\.php)
RewriteRule ^(.*)$ /index.php?$1 [L]

Also,is there any one could tell me how I can access my project like this “wha.local” using virtual host??I would appreciate if anybody could post a link/tutorial to help to deal with this kinda situation.Cheers

Haven’t used Codeigniter for some time, but I would check routes.php configuration and config.php to be sure url and path related settings are correct.
To create host for your setup, you can add

127.0.0.1 what.local

to your hosts file and then configure apache VirtualHost.


<VirtualHost *:80>
         DocumentRoot "/PATH_TO_YOUR_PROJECT_DIR"
         ServerName  wha.local
    <Directory "/PATH_TO_YOUR_PROJECT_DIR/">
         Options Indexes FollowSymLinks
         AllowOverride All
         Require all granted
    </Directory>
</VirtualHost>