Hi a RewriteHandler can be added similar to the way in [1]. Or take a look at [2], it shows how to register a handler as service.
regards, Achim [1] - https://wiki.eclipse.org/Jetty/Feature/Rewrite_Handler [2] - https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty/JettyHandlerServiceIntegrationTest.java 2015-07-15 17:48 GMT+02:00 nibblenabbler <[email protected]>: > I'm trying to do the same thing. I have an AngularJs app hosted in my > Karaf > container that I would like to use the HTML5 History API with. This > requires the server to do url-rewriting. > > Did you have any luck configuring Jetty for url-rewriting? > > Thanks! > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/URL-Redirecting-by-Jetty-RewriteHandler-tp4039880p4041438.html > Sent from the Karaf - Dev mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
