[FLOW3-general] Using multiple virtual hosts
Regine Rosewich
regine.rosewich at hoellenberg.biz
Fri Apr 8 12:32:49 CEST 2011
Hi Heiko,
in that case you're right. The routing up to now only supports subroutes (http://<my virtualhost>/<subroute>) as far as I can see. So for multiple virtual hosts using the same FLOW3 packages, you have to set up a independent web-directory for every domain containing the folders 'Configuration', 'Packages', and 'Web'. In the Packages folder you can link the Framework and Folder to a central FLOW3 development directory and put your dedicated application to the 'Application' Folder. The virtual hosts then point to the different web-folders and everything should work well.
I'm not sure whether this is the most simple way to handle your needs but if you think of several classical TYPO3-Domains hosted on one web-server it is done in the same manner.
Good Luck,
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 12:06
> An: General discussion about FLOW3
> Betreff: Re: [FLOW3-general] Using multiple virtual hosts
>
> Hi Regine,
>
>
> sorry, but I can't find any domain handling in these packages and the
> documentation.
>
> Perhaps I'm getting the complete Routing-Part wrong.
>
> Let's say I have installed blog and conference package. I will reach
> them on /blog and /conference. But I want to connect them on
> www.blog.com and www.conference.com. Therefore I have the virtual host
> entries pointing to the Web directory.
>
> But now I will reach e.g. the blog on www.blog.com/blog and
> www.conference.com/blog. Right?
>
> I'm really confused. Perhaps you can help me out here.
>
>
> Thanks
> Heiko
>
>
> Von: "Regine Rosewich" <regine.rosewich at hoellenberg.biz>
> An: "General discussion about FLOW3" <flow3-general at lists.typo3.org>
> Gesendet: Freitag, 8. April 2011 10:50:48
> Betreff: Re: [FLOW3-general] Using multiple virtual hosts
>
> 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
>
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
> _______________________________________________
> 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