Thank you for sharing your method! It does seem like that would work.
Am I understanding correctly that you're creating an additional
bootstrap.php file for each domain? It seems like there should be a way
to do it dynamically so that no additional files are required. I did
this on a non-Cake site. Using mod rewrites I passed the subdomain to
the url in a variable and used that to determine which data to grab
from the database.

See http://blog.brandags.com/dynamic-subdomains.html (old, non-Cake
stuff)

I haven't tried it in Cake, but maybe a similar thing would work? I'm
just not sure how it would interfere with routes and the existing
.htaccess contents.


--~--~---------~--~----~------------~-------~--~----~
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