What you want is a wildcard subdomain. Register in DNS
*.yourdomain.com, and handle the same in your webserver, pointing to
your cake app.
Then the first step in your app (in beforeFilter) should be to look at
the env('HTTP_HOST') to determine if the subdomain requested is valid
(matching a user account or whatever). If not, then 404, or show a
"account not found" page, whatever you like.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---