Hi Michael,

Found directions in the end, I'm using the preferred /context method:

http://wiki.eclipse.org/Jetty/Howto/Configure_Virtual_Hosts

Thanks!


On Tue, Mar 15, 2011 at 3:31 PM, Michael Gorovoy <[email protected]>wrote:

> Mark,
>
> The easiest way is to name your war file 'root.war'. Another way of doing
> that is to create a context XML file and set the contextPath to '/'. You
> could find an example in contexts/test.xml in the Jetty deployment
> directory.
>
> -Michael
>
> On Tue, Mar 15, 2011 at 12:15 PM, Mark Wyszomierski <[email protected]>wrote:
>
>> Hi,
>>
>> I've developed a web app, and exported it as "foo.war". If I put it into
>> my jetty /webapps folder and start jetty, it gets served at a url like:
>>
>>     http://mydomain/foo
>>
>> How can I serve it as the "root" project, in other words, serve it at:
>>
>>     http://mydomain
>>
>> I know it's possible but not seeing a doc on how to do it at the eclipse
>> wiki:
>>
>>     http://wiki.eclipse.org/Jetty/Howto
>>
>> Thanks
>>
>> _______________________________________________
>> jetty-users mailing list
>> [email protected]
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
>>
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to