Which jetty version? https://www.eclipse.org/jetty/documentation/current/configuring-virtual-hosts.html
That would be the documentation for Jetty 9. Typically this xml descriptor would go in the webapps directory for Jetty 9, or under the contexts directory in jetty 7/8 cheers, Jesse -- jesse mcconnell [email protected] On Mon, Sep 22, 2014 at 7:39 AM, Arya Farzan <[email protected]> wrote: > I've been reading and trying to make virtual hosts work for about a day with > no success. I'm using this guide > > http://wiki.eclipse.org/Jetty/Howto/Configure_Virtual_Hosts > > The page says I need to configure my webapp as follows > > <Configure class="org.eclipse.jetty.webapp.WebAppContext"> <Set > name="contextPath">/xxx</Set> <Set name="war"><SystemProperty > name="jetty.home"/>/webapps/xxx.war</Set> <Set name="virtualHosts"> <Array > type="java.lang.String"> <Item>333.444.555.666</Item> <Item>127.0.0.1</Item> > <Item>www.blah.com</Item> <Item>www.blah.net</Item> > <Item>www.blah.org</Item> </Array> </Set> </Configure> > > But where do I create this file at? > > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
