![]() |
website redirects to localhost in WAMP - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: website redirects to localhost in WAMP (/showthread.php?tid=58942) |
website redirects to localhost in WAMP - El Forum - 08-06-2013 [eluser]Unknown[/eluser] Whenever I click the site link in WAMP http://localhost/ci/index.php/HomeController It works fine. If I omit the "index.php" from the url (http://localhost/ci/HomeController), however, it shows me the same folderlist as on localhost this is my htaccess file in root Code: <IfModule mod_rewrite.c> and in the config file Code: $config['base_url'] = 'http://localhost/ci/'; This still redirected me to WAMP home page Any help is appreciated. <b>Edit</b>: I also uncommented this Code: LoadModule rewrite_module modules/mod_rewrite.so in the httpd.conf file |