Problem with Routes |
Hello friends i have a problem with routes "i think".
after remove the "index.php" from URL my router config is: PHP Code: $route['default_controller'] = "links"; Base url: Code: $config['base_url'] = 'http://127.0.0.1/test/'; the links controller have a function like this: PHP Code: public function index($head = FALSE){ so when i go to "http://127.0.0.1/test/" everything is going ok, for "http://127.0.0.1/test/baaaah" i get a 404 not found, but when i manually put "http://127.0.0.1/test/index.php/baaaah" its works. i don't know where is the mistake, i tried split the controllers, i read the uri, url, routing documentation and look in stackoverflow and didn't find a clue. thanks and have a good day. |
Messages In This Thread |
Problem with Routes - by Antuan007 - 12-21-2018, 09:27 AM
RE: Problem with Routes - by php_rocs - 12-21-2018, 07:32 PM
RE: Problem with Routes - by demyr - 12-30-2018, 10:52 PM
RE: Problem with Routes - by Antuan007 - 01-19-2019, 03:42 PM
|