Organizing Controllers into Sub-Directories |
I'm looking to organize controllers into sub-directories per instructions at http://www.codeigniter.com/userguide3/ge...irectories
However, it doesn't work and I'm not sure what's missing. Going to http://www.foo.com/members goes to the member login page as expected. Going to http://www.foo.com/members/summary gives a 404 error. Putting the logic for summary inside of controllers/Members.php works but there will be many more files and related logic so it's better if I can organize into sub-directories. Folder structure (simplified): Code: -www .htaccess file: Code: RewriteEngine On What is the best to adjust to get this working? the .htaccess file? the routes.php file? readjust the folder structure? something else? Thank you in advance! |
Messages In This Thread |
Organizing Controllers into Sub-Directories - by eci35 - 04-30-2015, 11:02 AM
RE: Organizing Controllers into Sub-Directories - by mwhitney - 04-30-2015, 11:59 AM
RE: Organizing Controllers into Sub-Directories - by eci35 - 04-30-2015, 12:19 PM
RE: Organizing Controllers into Sub-Directories - by RobertSF - 04-30-2015, 12:19 PM
RE: Organizing Controllers into Sub-Directories - by RobertSF - 04-30-2015, 02:33 PM
RE: Organizing Controllers into Sub-Directories - by cartalot - 05-01-2015, 12:10 PM
RE: Organizing Controllers into Sub-Directories - by CroNiX - 05-01-2015, 02:03 PM
RE: Organizing Controllers into Sub-Directories - by cartalot - 05-07-2015, 01:23 PM
|