title: Can I get Jetty to rewrite Cookie paths?
body: <p>We've got a lot of applications based on Jetty. For historical reasons; these have been sitting behind Apache servers. One of the duties of Apache has been rewrites, and we want to move to using just Jetty. But we are hitting some snags when it comes to porting it. Specifically Cookie path rewrites. Is it even possible in Jetty?</p>
  
  <p>The original config for Apache looks like this:</p>
  
  <pre><code>ProxyPassMatch          ^/${basePattern}/${market}/(${appContextName}/.*)                http://127.0.0.1:8080/app/${symbol_dollar}1 retry=0
  ProxyPassReverse        /                                                             http://127.0.0.1:8080/
  
  ProxyPassInterpolateEnv on
  ProxyPassReverseCookiePath /appCookiePath /${basePattern}/${market}/${appContextName} interpolate
  </code></pre>
  
  <p>I've looked at the code for both Rule (from the rewrite API) as well as Jetty Handlers. I can't really find anything in those APIs that would let me rewrite the Cookies... Any pointers?</p>