CodeIgniter with php5 - CI-generated 404 Error |
[eluser]etheon[/eluser]
Apparently, on my server, I'd have to put http://hostname/index.php/controller instead of http://hostname/controller without the .htaccess fix. If there is no path given in the URI, then it'll pick index and the default router just fine though. Anyway, it's fixed now, although I would've preferred not having to tinker with a core library. I just don't understand why it checks for ORIG_PATH_INFO if the PATH_INFO actually exists (albeit it is only "/"). So when _fetch_uri_string() returns a non-empty string (being ORIG_PATH_INFO), the default route is not taken. |
Welcome Guest, Not a member yet? Register Sign In |