CodeIgniter Forums
how to configure to be able run the both query string and segment - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: how to configure to be able run the both query string and segment (/thread-52120.html)



how to configure to be able run the both query string and segment - El Forum - 05-30-2012

[eluser]Linh Pham[/eluser]
Hi there,
i have problem with URL of my project
i want my website can work fine with the both
http://localhost/project_name/?c=controller_name&m=function_name
and
http://localhost/project_name/controller_name/function_name

currently my project just can run by one of 2 cases above although i set $config['enable_query_strings'] = TRUE;



how to configure to be able run the both query string and segment - El Forum - 05-30-2012

[eluser]Otemu[/eluser]
Check out this thread http://ellislab.com/forums/viewthread/99570/