Virtual Domains or Multisite Routes in Symfony2

I have a project in Symfony2 that supports multiple domains and multiple pages on each site that run on the same code base so that we can maintain a single code base.

Can I transfer all incoming requests to the “domain controller” package and let the controller determine which domain it contains and enable the corresponding packages for this domain, or is there a better way to get close to this?

+4
source share
2 answers

A similar question with a posted good solution (until Symfony 2.1 appears)

fooobar.com/questions/223775 / ...

+1
source

This is not supported in Symfony 2.0. However, planned for 2.1.

+1
source

All Articles