Prevent Apache from reverse proxying certain HTTP methods
Solution 1:
Should be able to accomplish this with <Limit>
:
<Limit GET HEAD POST>
ProxyPass / http://example.com/
</Limit>
Edit:
Picky directives.. we'll go with plan B.
RewriteCond %{REQUEST_METHOD} ^(GET|HEAD|POST)$
RewriteRule ^/(.*)$ http://example.com/$1 [P,L]