[FLOW3-general] Using multiple virtual hosts
Heiko Kromm | Paints
h.kromm at paints.de
Fri Apr 8 10:22:00 CEST 2011
Hi list,
I'm wondering if/how i could use multiple virtual hosts with flow3.
Let's say I have 2 virtual hosts pointing to the Web directory (www.domain1.tld, www.domain2.tld).
Is it possible to route these domains to different applications in the Routes.yaml?
Something like:
name: 'APP1'
uriPattern: '<APP1Subroutes>'
defaults:
'@format': 'html'
'@domain': 'www.domain1.tld' // does something like this exist?
subRoutes:
APP1Subroutes:
package: APP1
-
name: 'APP2'
uriPattern: '<APP2Subroutes>'
defaults:
'@format': 'html'
'@domain': 'www.domain2.tld' // does something like this exist?
subRoutes:
APP2Subroutes:
package: APP2
Or do I have to use a different context for every domain?
Thanks for your help
Heiko
More information about the FLOW3-general
mailing list