Sure, full domains is just a matter of modifying the way you "find" the correct config. Come to think of it, the code at the bakery does that already. It is the very simplest, most generic way of doing it. I have variations where it checks the root domain and only allows sub- domains. It then throws a special error if the wrong root domain is used. (since this is usually a hacking attempt or serious problem with the webserver)
$bootstrap = CONFIGS .'domains'.DS.$_SERVER['SERVER_NAME'].'.php'; $bootstrap will point to filenames like "example.com.php", mail.google.com.php or anything you care to set in your vhost. On Jun 12, 7:02 am, "milesrichard...@gmail.com" <milesrichard...@gmail.com> wrote: > Thanks. I had seen that before but I am just now beginning to see how > it will fit. Is it possible to do something like that with full > domains rather than simply subdomains? > > Miles > > On Jun 11, 1:42 am, Steve <oliveira.st...@gmail.com> wrote: > > > > > You may want to check out this article in the > > bakery:http://bakery.cakephp.org/articles/view/one-core-one-app-multiple-dom... > > > It may not do it exactly that way you want to, but it should give you > > an idea on accomplishing some of the things you want to do. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---