<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
<Configure id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
  <!-- =========================================================== -->
  <!-- configure rewrite rule container as a customizer            -->
  <!-- =========================================================== -->
  <Call name="addCustomizer">
    <Arg>
      <New id="Rewrite" class="org.eclipse.jetty.rewrite.RewriteCustomizer">
        <Set name="rewriteRequestURI"><Property name="jetty.rewrite.rewriteRequestURI" default="true"/></Set>
        <Set name="rewritePathInfo"><Property name="jetty.rewrite.rewritePathInfo" default="true"/></Set>
        <Set name="originalPathAttribute"><Property name="jetty.rewrite.originalPathAttribute" default="requestedPath"/></Set>
      </New>
    </Arg>
  </Call>  
</Configure>

