Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Configuring virtual host

Which jetty version?

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

jesse mcconnell

On Mon, Sep 22, 2014 at 7:39 AM, Arya Farzan <arya6000@xxxxxxxxx> wrote:
> I've been reading and trying to make virtual hosts work for about a day with
> no success. I'm using this guide
> 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></Item>
> <Item></Item> <Item></Item>
> <Item></Item> </Array> </Set> </Configure>
> But where do I create this file at?
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit

Back to the top