Hi all,

Following along the same lines as Sven, I am creating a Cake application, and wish to seperate the admin by giving it it's own subdomain.

I have setup the routes configuration file to set routes depending on the $_SESSION['SERVER_NAME'] variable, but the default setting of attempting to route all other URI's to /method/action is causing some grief.

Is there any way to turn off this default behaviour and for URI's to only link to somewhere if a route has been set for it? I could not find anything in the manual page for Routes, so I ask here.



Also, is it possible to add multiple validation regex's with seperate fail flags for a single input field? I would like to offer a more helpful error message to my users, rather than just a generic fail message. For example, on regex to check the "username" length, and another to check for unsafe characters - and to offer a different error message for each.

If multiple validation regex's are not already available I may attempt to add this functionality and submit it for review and maybe adding to the code base?

Thanks in advance for any help - keep up the good work!
Aaron Barnes

--
[http://www.hbcosmo.com/]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to