thx! That was much easier as I expected, Cake rocks!
On 9 Apr., 02:31, schneimi <michael.schne...@arcor.de> wrote: > Hi Aurelius, > > I use something like this in config/routes.php: > > $subdomain = substr(env("HTTP_HOST"), 0, strpos(env("HTTP_HOST"), > ".")); > > if ($subdomain != 'domain') { > Router::connect('/', array('controller' => 'users', 'action' => > 'view', 'pass' => $subdomain)); > > } > > Regards, > > Michael > > On 9 Apr., 01:17, Aurelius <aurel...@temporaryinbox.com> wrote: > > > Hi! > > > I want to have a subdomainrouting from > > http://(.*).domain.com mappt to > > htpp://www.domain.com/users/view/username:$1, > > which should be mappt standardwise like a normal cake app.(or mybe > > directly). > > > I Don't really understand much about modRewrite and even less about > > cakes dispatcher :-/ > > Can someone help me and tell me what I should replace? > > > thx > > Aurelius --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---