URI problem while using CI - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: URI problem while using CI (/showthread.php?tid=24388) |
URI problem while using CI - El Forum - 11-09-2009 [eluser]Kunjesh[/eluser] Hi All, My name is kunjesh sukhadia. I am using CI to develop web application in php. But i am facing URI problem, that i mention below. When i am writing code like this Code: www.abc.com/user CI will find user controller in application/controller folder, this is write. But i am writing code like this Code: www.abc.com/user/ This will also find controller in application/controller folder, but i want that CI have to find "user" folder rather than controller. Is there any setting that i forgot to do. Please help me out. Thanks & Rigards, Kunjesh Sukhadia. URI problem while using CI - El Forum - 11-09-2009 [eluser]saidai jagan[/eluser] Seems Odd URI problem while using CI - El Forum - 11-09-2009 [eluser]Zeeshan Rasool[/eluser] You can use it. Did you give default controller in routes ? if you are using only folder name then you have to define default controller. Other wise, use foldername/controllername URI problem while using CI - El Forum - 11-09-2009 [eluser]Kunjesh[/eluser] @zEsHaN You mean to say that if i want to access folder than i have to write like this? Code: www.abc.com/FolderName/ControllerName URI problem while using CI - El Forum - 11-09-2009 [eluser]Zeeshan Rasool[/eluser] [quote author="Kunjesh" date="1257789162"]@zEsHaN You mean to say that if i want to access folder than i have to write like this? Code: www.abc.com/FolderName/ControllerName Yes , it is. URI problem while using CI - El Forum - 11-09-2009 [eluser]Kunjesh[/eluser] Thanks zEsHaN for help me to solve my problem, now i am getting what i have to do. |