Having trouble removing index.php from URL |
[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...
[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. ![]()
|
Welcome Guest, Not a member yet? Register Sign In |