![]() |
Subfolder doesn't work - 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: Subfolder doesn't work (/showthread.php?tid=25771) |
Subfolder doesn't work - El Forum - 12-23-2009 [eluser]fnoorman[/eluser] Hi, I've tried to create subfolder in the application/controller folder and also create a controller file named login.php e.g application/controller/admin/login, then according to documentation, this should work with "http://mynoki.com/admin/login" rite? but it keep gives me an error 404? i've use .htaccess to remove index.php in the url and it still gives me error. Please shed some light Subfolder doesn't work - El Forum - 12-23-2009 [eluser]fnoorman[/eluser] sorry guys, finally i found out what was the problem, i did search in the forum related to the sub folder and only just now i i found out what is causing the error. WE CANNOT HAVE SAME FILE NAME AS THE FOLDER NAME IF THE FOLDER IS IN THE SAME DIRECTORY WITH FILENAME. duhhh... |