Structure of CodeIgniter App
www.domain.com - /assets - /system
- /portal ( application 1 )
- /members ( application 2 )
- /admin ( application 3 )
- /products ( application 4 )
portal.php ( portal application index page ) members.php ( members application index page ) admin.php ( admin application index page ) products.php ( products application index page )
URLS of INDEX ( working )
http://www.domain.com/portal.php <--------- working
http://www.domain.com/members.php <--------- working
http://www.domain.com/admin.php <--------- working
http://www.domain.com/products.php <--------- working
ROUTES
members routes.php
$route['mem/display_list'] = "members/get_list";
portal routes.php
$route['por/display_list'] = "portal/get_list";
admin routes.php
$route['adm/display_list'] = "admin/get_list";
products routes.php
$route['prd/display_list'] = "products/get_list";
URL with controller
http://www.domain.com/portal.php/portal/get_list <----- working
http://www.domain.com/admin.php/admin/get_list <----- working
http://www.domain.com/members.php/members/get_list <----- working
http://www.domain.com/products.php/products/get_list <----- working
Question : How Can I Make it Work with routes..
http://www.domain.com/mem/display_list <----- NOT working
http://www.domain.com/por/display_list <----- NOT working
http://www.domain.com/adm/display_list <----- NOT working
http://www.domain.com/prd/display_list <----- NOT working
Is it about configuring multiple index.php in .htaccess file?