basically nobody tested and we never wrote any code making it working so i
understand it doesn't work...that said defining another host is a
workaround ATM

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/4/14 José Luis Cetina <[email protected]>

> You are right Rommain.  I never tested with alias.
> El 14/04/2013 13:17, "José Luis Cetina" <[email protected]> escribió:
>
> > I have virtual hosts inclusive subdomains with an apache server in front
> > and tomee (using workers).
> > I can share with you my config tomorrow im out of the office now.
> > El 14/04/2013 13:07, "Jack Anamanda" <[email protected]>
> > escribió:
> >
> >> VirtualHostTest.war
> >> <http://openejb.979440.n4.nabble.com/file/n4662242/VirtualHostTest.war>
> >>
> >> Adding a virtual host also doesn't work when you start the server from
> >> within Eclipse. Here is a 2KB small example. Just add it to a server and
> >> start, a timer will print a message every 5 seconds. Then add a random
> >> virtual host and set it's docbase to the name of the .WAR file. The
> server
> >> will fail to start.
> >>
> >> <Host name="domain.com">
> >>         <Context docBase="VirtualHostTest" path=""/>
> >>         <Alias>www.domain.com</Alias>
> >> </Host>
> >>
> >> I mean this is a basic Tomcat feature :-| I need it. Did nobody (apart
> >> from
> >> Mauro) try this before?
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://openejb.979440.n4.nabble.com/Virtual-host-not-working-tp4662204p4662242.html
> >> Sent from the OpenEJB User mailing list archive at Nabble.com.
> >>
> >
>

Reply via email to