java - Karaf: how to configure virtual hosts -
java - Karaf: how to configure virtual hosts -
how set virtual hosts in karaf?
karaf has embedded jetty, made context.xml
below content , have set /etc
folder:
<configure class="org.eclipse.jetty.webapp.webappcontext"> <set name="contextpath">/</set> <set name="war"><systemproperty name="jetty.home"/>/webapps/testwab_war.war</set> <set name="virtualhosts"> <array type="java.lang.string"> <item>test.localhost</item> </array> </set> </configure>
... test.localhost:8181
brings me 404
.
instructions in documentation config file's location unclear me, tell me did wrong?
i think cfg file's location...
in case of karaf entire quest bit more complicated. need name connectors , utilize pax-web speciffic manifest header bind module it. more detailed description in blog post: http://notizblog.nierbeck.de/2013/01/bind-certain-web-applications-to-specific-httpconnectors/
java jetty virtual host karaf
Comments
Post a Comment