[FLOW3-general] Using multiple virtual hosts
Regine Rosewich
regine.rosewich at hoellenberg.biz
Fri Apr 8 10:50:48 CEST 2011
Hi Heiko,
no you don't. If you look at the example-packages (blog-package,
conference-package) you can see how different domains can be handled with
routes. You only have to put a rout to the package in question into
FLOW3==>Configuration==>Routes.yaml and the rest in done in the
...Configuration==>Routes.yaml of the package in question. Just have a look
on the chapter about routing in the FLOW3-Manual.
Regine
> -----Ursprüngliche Nachricht-----
> Von: flow3-general-bounces at lists.typo3.org [mailto:flow3-general-
> bounces at lists.typo3.org] Im Auftrag von Heiko Kromm | Paints
> Gesendet: Freitag, 8. April 2011 10:22
> An: flow3-general at lists.typo3.org
> Betreff: [FLOW3-general] Using multiple virtual hosts
>
> 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
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list