I have a video CMS app that effectively needs two user interfaces - a
regular scaffolding-style user interface, and a simple interface that's
used by video player apps. The problem is that the way the video app
one needs to work interferes with cake's usual routing.
For example, I want to be able to view standard editing pages like:
http://www.myapp.com/videos/edit/23in the usual controller/action style.
At the same time I need to be able to get into the same cake app via a
URL like:
http://www.myapp.com/accountname/someclip.movor possibly with a different hostname for the alternative route:
http://video.myapp.com/accountname/someclip.movHow can I set up the routing so that it doesn't try to call an action
called 'someclip.mov' in a non-existent 'accountname' controller?
Can I set up these two routes at the same time in a way that they won't
interfere with each other? Would the alternative hostname help, and can
cake respond on two subdomains at once in the same app?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to
[hidden email]
To unsubscribe from this group, send email to
[hidden email]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en-~----------~----~----~----~------~----~------~--~---