If you’re developing on Kohana framework and your server is setup with Apache and FastCGI, you’ll run into some weird trouble regarding URL processing. This is happening because Kohana’s Router class is not looking at the REQUEST_URI key in the $_SERVER global, and gets the PHP_SELF instead that always returns the index.php file.
This has a workaround: either you alter the find_uri() method in the Router class, or you change the way the parameters are sent to the script via .htaccess’s mod_rewrite rules, as described in http://projects.kohanaphp.com/issues/1923.