though when migrating to cake 2.x
On Jan 26, 1:15 pm, sixthpoint <sixthpo...@gmail.com> wrote:
> I have been trying to do some research on solving my problem. It seems
> simple, but I don't see a lot of documentation in cake on creating
> custom routes.
>
> My issue:
>
> I want to take a URL like sohttp://localhost/controller1/item1
> and route it tohttp://item1.localhost/*
> this "item1" can be different names of items in my database. So I
> could have item2.localhost/ or item3.localhost/ and it would route it
> so on and so forth.
>
> So my "items" in the subdomain will be connected my specific
> controller.
>
> I have found this:http://book.cakephp.org/2.0/en/development/routing.html#custom-route-...
> and also this:http://book.cakephp.org/2.0/en/appendices/new-features-in-cakephp-2-0...
> talking about subdomain routes, but it does not say where the custom
> cakeroutes should be located in the filesystem. I am using cake 2.x
>
> Any help would be great, this is my first time working with this kind
> of a issue.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment