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... |
Messages In This Thread |
Having trouble removing index.php from URL - by El Forum - 05-23-2013, 02:53 AM
Having trouble removing index.php from URL - by El Forum - 05-23-2013, 07:42 AM
Having trouble removing index.php from URL - by El Forum - 05-23-2013, 06:17 PM
|