Question

I am checking to see if there are any recommendations on creating a multisite instance of the Symfony CMF.

My initial thoughts are to launch with Symfony 2.2 and would like to rapidly adopt the CMF once it becomes stable. If there are any known best practices to allow this, please let me know.

Was it helpful?

Solution

The CMF for now has no special support for multisite. The route document however does map the hostname field so multi-domain routing should already work.

Unless you want to mix the routes from all domains, you would want to separate the routes tree by domain and build something into the route provider to handle the domain name. A pull request on the cmf RoutingBundle would definitely be appreciated.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top