On 25/01/2017 17:22, Chris Walker wrote:
John,All you have to do in that case is specify the directory location. In the example below I set a context of //chris/ using the //chris/ directory in the webapps folder of my /${jetty.base}/: <Configure id="chrisApp" class="org.eclipse.jetty.webapp.WebAppContext"> <Set name="contextPath">/chris</Set> <Set name="war"><Property name="jetty.webapps" default="."/>/chris</Set> </Configure>
Yet another question: having done this, and added some virtual host settings (including a 127.0.0.1 for testing), all seems well, except for one thing: when I try to access 127.0.0.2, it correctly does not access the webapp, but all I get back is a blank page: no 404 message, although the 404 shows up in the request log. Is there something else I need to configure to make something visible happen here? In particular, can I serve up a static page of my choice?
-- John English _______________________________________________ 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
