title: RewriteRule, Proxy directive [P] - Is it possible to make request use actual proxy host?
body: <p>Does anyone know whether it is possible to make rewrite rules which use the proxying [P] directive, as shown below, to behave like <code>ProxyPass</code> used in conjunction with <code>ProxyPreserveHost Off</code>.</p>
  
  <p>In other words I want the server on mydomain.net to see a request for mydomain.net not mydomain.com.</p>
  
  <pre><code>RewriteCond  %{HTTP_HOST} ^mydomain.com$  [NC]
  RewriteRule ^/(.*)$  http://mydomain.net/app1/$1 [P,L]
  </code></pre>
  
  <p><br/>Thanks and best regards,</p>