title: Apache rewriterule with proxyPass and proxyPassReverse
body: <p>I need to use the following Rewrite rule with the proxyPass and proxyPassReverse </p>
  
  <pre><code>RewriteEngine On
  RewriteRule  ^(market|stock|mutual)$ stackoverflow/$1 [L]
  </code></pre>
  
  <p>My virtual host defination is</p>
  
  <pre><code>&lt;VirtualHost *&gt;
      ServerName localhost
      ProxyPass / http://localhost:8080/ 
      ProxyPassReverse / http://localhost:8080/  
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Where Shall I insert the rewrite rule so that when I hit the URL -- localhost/market, then it will perform an internal rewrite to localhost:8080/stackoverflow/market</p>
  
  <p>Please help</p>