![]() |
URI Routing from CI app name to my web root - 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: URI Routing from CI app name to my web root (/showthread.php?tid=17524) |
URI Routing from CI app name to my web root - El Forum - 04-07-2009 [eluser]tlam[/eluser] Right now, I can access pages within the framework like the following: http://localhost/codeigniter/helloworld I already have existing modules under localhost and would like to slowly migrate my old codes to CI. For the time being, I'll code my new modules in CI. What should I change to display my CI modules under localhost(assuming that they are unique), for example: http://localhost/helloworld URI Routing from CI app name to my web root - El Forum - 04-07-2009 [eluser]Colin Williams[/eluser] You could do a piecemeal mod_rewrite in your localhost doc root. Code: # Should be in something like /var/www/htdocs/.htaccess, not /var/www/htdocs/codeigniter/.htaccess |