CodeIgniter Forums
Routing problem ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Routing problem ? (/showthread.php?tid=58265)



Routing problem ? - El Forum - 05-28-2013

[eluser]Unknown[/eluser]
Hi there,

How can I solve the following problem ? I suppose this is a routing problem...

I would like my URL's to be like this
>> http://localhost/myapp/moduleA/users/action/id
>> http://localhost/myapp/moduleB/tasks/action/id

and I would like that my folders look like this
>> ../application/modules/moduleA/users/controller/users.php
>> ../application/modules/moduleB/tasks/controller/tasks.php

I am trying to use HMVC pattern.

Thanks for your response.