[eluser]Unknown[/eluser]
[quote author="nizzle" date="1322561517"]This does not seem to work when you want to use parts of the URI as query strings
like so: /sub/dir/my_controller/argument1/argument2
I would like this to call /sub/dir/my_controller->index(argument1, argument2)
but it does not work.
I need to put the index in the URL explicitly: /sub/dir/my_controller/
index/argument1/argument2 [/quote]
I found a solution about this issue.
You should probably set this below code into your 'application/config/routes.php'
$route['sub/dir/my_controller/(:any)/(:any)'] = 'sub/dir/my_controller/index/$1/$2';
Hope this can help anyone.