CodeIgniter Forums
controller nested folders - 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: controller nested folders (/showthread.php?tid=18233)

Pages: 1 2 3 4


controller nested folders - El Forum - 04-30-2009

[eluser]Jagar[/eluser]
Sorry Dam1an I thought you knew, IIS ( Internet Information Services) in windows, it's a web server that comes with XP PRO / Vista and servers. It does not support url rewriting, there is a Isapi module, but it's not free.


controller nested folders - El Forum - 04-30-2009

[eluser]Jagar[/eluser]
I was working on the IIS 5.1 in Xp for a while, but then I got really tire, because it wouldn't work, so I just use apache 2.2 for now, is the best.


controller nested folders - El Forum - 04-30-2009

[eluser]Dam1an[/eluser]
[quote author="Jagar" date="1241114882"]Sorry Dam1an I thought you knew, IIS ( Internet Information Services) in windows, it's a web server that comes with XP PRO / Vista and servers. It does not support url rewriting, there is a Isapi module, but it's not free.[/quote]

Ahh, I explicitly do web dev with Apache, which explains why I've never heard of it


controller nested folders - El Forum - 04-30-2009

[eluser]Jagar[/eluser]
This project is for my work, but I've tried my personal web site, which is shared hosting, and still does not work.

Dam1an, would you be able to do a quick testing on your side using folder inside folder in controllers, just want to be sure it's not only me.

Thanks


controller nested folders - El Forum - 04-30-2009

[eluser]Dam1an[/eluser]
Ok, I'll test it this evening when I get home from work


controller nested folders - El Forum - 04-30-2009

[eluser]Jagar[/eluser]
Thanks a lot!


controller nested folders - El Forum - 04-30-2009

[eluser]Jagar[/eluser]
I have moved the files from the folder back to where it was before, and have add prefixes at the beginning, to keep them organized.

You do not need to do any testing. Thanks anyways!


controller nested folders - El Forum - 05-04-2009

[eluser]Jagar[/eluser]
Having everything under controllers folder is such a mess, and I"m still trying to find why my sub folder does not work.

Here is my structure again:

controller home is my default controller.

[Controllers]
[admin]
[test]
home.php

this is how i'm trying to access it. localhost/consultations/index.php/admin/test

Please help, i'm using apache 2.2 in windows xp sp2.

Thanks


controller nested folders - El Forum - 05-04-2009

[eluser]Jagar[/eluser]
I guess it's not possible as Pascal Kriete said on http://ellislab.com/forums/viewthread/79766/, the controller nested folder is limited to one, unless using a modular.

I will try to use that and see what happens.


controller nested folders - El Forum - 05-04-2009

[eluser]simshaun[/eluser]
While the documentation does not clearly come out and say it, and I think it ought to, it does give a subtle hint as to why you were having the problem.
Quote:Note: When using this feature the first segment of your URI must specify the folder.
In other words, any segment past the first cant specify a folder.

I'm not sure if you can achieve what you want through Matchbox or HMVC, but it may be worth looking at. (I've never used either one, or I'd tell you.)