<div class="example"><p><code>
RewriteCond %{REQUEST_FILENAME} <strong>!-f</strong><br />
RewriteCond %{REQUEST_FILENAME} <strong>!-d</strong><br />
-RewriteRule ^/(.*) http://<strong>old</strong>.example.com$1 [<strong>P</strong>]<br />
+RewriteRule ^/(.*) http://<strong>old</strong>.example.com/$1 [<strong>P</strong>]<br />
ProxyPassReverse / http://old.example.com/
</code></p></div>
</dd>
<example>
RewriteCond %{REQUEST_FILENAME} <strong>!-f</strong><br />
RewriteCond %{REQUEST_FILENAME} <strong>!-d</strong><br />
-RewriteRule ^/(.*) http://<strong>old</strong>.example.com$1 [<strong>P</strong>]<br />
+RewriteRule ^/(.*) http://<strong>old</strong>.example.com/$1 [<strong>P</strong>]<br />
ProxyPassReverse / http://old.example.com/
</example>
</dd>