Having trouble removing index.php from URL - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Having trouble removing index.php from URL (/showthread.php?tid=58191) |
Having trouble removing index.php from URL - El Forum - 05-23-2013 [eluser]dm_punks[/eluser] Hi, everyone. I've installed codeigniter on my webserver under a subdirectory so that the main index.php is at http://dmdev.company.com/ci/index.php /ci/index.php /ci/.htaccess /ci/application/ Here's what's inside my .htaccess file: Code: RewriteEngine On Here're my routes: Code: $route['default_controller'] = 'page'; http://dmdev.company.com/ci/index.php loads fine, but following links from it to the other controllers results in an Object not found! error. So for example, the link to http://dmdev.company.com/ci/item/10/itemname results in an Object not found! error. However, if I manually insert "index.php" in the URL like so--http://dmdev.company.com/ci/index.php/item/10/itemname--the page loads fine. I've tried changing the uri_protocol from AUTO to PATH_INFO to REQUEST_URI to ORIG_PATH _INFO to QUERY_STRING with no luck. I would greatly appreciate any help on this... Having trouble removing index.php from URL - El Forum - 05-23-2013 [eluser]TheFuzzy0ne[/eluser] Please keep an eye on this thread: http://ellislab.com/forums/viewthread/235584/ I'm pretty sure it's the same problem, so we might as well try to help you both together. Having trouble removing index.php from URL - El Forum - 05-23-2013 [eluser]dm_punks[/eluser] Thanks! |