Thank you Jan, this has helped.
I am sorry for the stupid questions - I have only used Perl and then PHP
for web apps in the past decade and have completely missed the Java side :-)
I have changed the url-pattern in WEB-INF/web.xml of my WAR-file to "/"
And have also created the file $JETTY_BASE/webapps/hello.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN"
"http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/hello</Set>
<Set name="virtualHosts">
<Array type="java.lang.String">
<Item>slova.de</Item>
<Item>www.slova.de</Item>
</Array>
</Set>
<Set name="war"><SystemProperty
name="jetty.base"/>/webapps/hello-world-0.1-SNAPSHOT.war</Set>
</Configure>
This seems to work and not to disturb the Worpress served through
FastCGIProxyServlet at the same virtual host.
Still I wonder, which context path is selected first.
Does Jetty has a list of hosts + context paths and goes from more specific
ones (like "/hello") to more general ones (like "/" used by
FastCGIProxyServlet)?
Regards
Alex
_______________________________________________
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