index.php removed and had "Object not found!" |
[eluser]Unknown[/eluser]
i'm using the user guide. i tried the blog.php and blogview.php on controllers folder: blog.php Code: <?php on the views folder: blogview.php Code: <html> aboutview.php Code: <html> on the config folder: routes.php i changed the $route['default_controller'] = 'welcome'; to $route['default_controller'] = 'blog';. on the config folder: config.php i changed the $config['index_page'] = 'index.php'; to $config['index_page'] = 'index.php?';. when i load the website.. it shows the right content. http://localhost/ci/ function index() BUT when i try.. http://localhost/ci/blog/about to show function about() it shows Object not found! Error 404. when i try.. http://localhost/ci/index.php/blog/about it shows the right content of function about(). I need to get rid of that index.php What am i missing? Thanks ![]() |
Welcome Guest, Not a member yet? Register Sign In |