Friday, March 28, 2014

Routing special route to subdomain (Cake 1.3)

Hello,

I still use Cake 1.3 and I have a requirement I don't know how to solve:

I want to route single an special route to a subdomain. For example the route

Router::connect('/news/', array('controller' => 'news', 'action' => 'show'));

show be displayed under http://subdomain.domain.com

but all other routes/links should show to http://domain.com

How can I solve this?

Best regards,

Timo

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: