You can use mod_rewrite for a selective proxy request based on the HTTP method.
For instance:
# Send all GET and HEAD requests to CouchDB RewriteCond %{REQUEST_METHOD} GET|HEAD RewriteRule /db/(.*) http://localhost:5984/mydb/_design/myapp/$1 [P]
Any POST , PUT or DELETE requests will be processed by Apache as usual, so you can connect your application tier, as a rule, usually.
source share