<pre class="prettyprint lang-config">RewriteEngine on
RewriteBase /products/
RewriteRule ^widget/(.*)$ http://product.example.com/widget/$1 [P]
-ProxyPassReverse /products/widget/ http://product.example.com/widget/</pre>
+ProxyPassReverse "/products/widget/" "http://product.example.com/widget/"</pre>
<p>In the second example, we proxy the request only if we can't find
<pre class="prettyprint lang-config">RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/(.*) http://old.example.com/$1 [P]
-ProxyPassReverse / http://old.example.com/</pre>
+ProxyPassReverse "/" "http://old.example.com/"</pre>
</dd>