Hi Matthias, I guess you are using the default connector created by Pax Web right ? You have to set the contextPath in the corresponding section.
Which Karaf version are you using ? Can you share your full jetty.xml + org.ops4j.pax.web.cfg files ? Thanks, Regards JB On Mon, Dec 12, 2022 at 5:58 PM Matthias Leinweber <[email protected]> wrote: > > Hello Karafers, > > I am convinced that I am not the first person who asks this. But I also > wasn't able to find the answer. I try to change the basepath of the default > jetty context so that /system/console is prefixed e.g. with bar _> > /bar/system/console > > I thought that i have to add > org.ops4j.pax.web.context.file = ${karaf.etc}/jetty-web.xml > to org.ops4j.pax.web.cfg and add > <Set name="contextPath">/bar</Set> to the <Configure> .. block.. > > But that seems to be wrong.. any hints? > > br, > Matthias
