title: apache rewrite with proxypass
body: <p>I am trying to combine a rewrite and a proxy pass and having issues with the rewrite. Here is what I have </p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} ^example.world.net
  RewriteRule %{HTTP_HOST} http://newexample.newworld.net:7802/apex/f?p=208 [R,P]
  ProxyPass / http://newexample.newworld.net:7802/
  </code></pre>
  
  <p>The proxypass is working, but I can't figure out how to get the initial redirect. So if the user puts in example.world.net/apex/f?p=208 it goes to newexample.newworld.net:7802/apex/f?p=208 and masks the url. </p>
  
  <p>However I need to get example.world.net to redirect to example.world.net/apex/f?p=208 if the apex/f?p=208 is not in the url.</p>