[eluser]Johan André[/eluser]
What about if the controller is in a subdir?
application/controllers/subdir/the_controller.php
would be called with {base_url}/subdir/the_controller/method/param1
Correct me if I'm wrong, but wouldn't rsegment(1) return the name of subdir?