i want to have several subdomains for my CakePHP application, like
http://app1.mydomain.com, http://app2.mydomain.com, http://app3.mydomain.com, http://app4.mydomain.com, etc.
how can i use app1, app2, app3, etc, as variables in my application (ie. every subdomain will have unique design)?
is it possible to "parse" url with .htaccess, or it's better to use php functions to achieve that?
tnx in adv!