[FLOW3-general] Using multiple virtual hosts

Heiko Kromm | Paints h.kromm at paints.de
Fri Apr 8 12:06:21 CEST 2011


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 


More information about the FLOW3-general mailing list