This looks like a job for Apache's mod_rewrite to me. There is a good tutorial 
at http://httpd.apache.org in the documentation section for your (target) 
version of Apache. This info, combined with the app/webroot/.htaccess that 
ships with CakePHP, should get you going.

Good luck,

Darian
--
Darian Anthony Patrick <[EMAIL PROTECTED]>
-----Original Message-----
From: "Quad4" <[EMAIL PROTECTED]>
Date: Tuesday, Jul 11, 2006 10:28 am
Subject: Subdomains as Controllers

Hi.

I have next "standard" app structure:
http://domain.com/controller1/action/
http://domain.com/controller2/action/
http://domain.com/controller3/action/

How I can do next trick with Cake?
http://controller1.domain.com/action/
http://controller2.com/action/
http://controller3.com/

Thanx a lot.






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