Apache as Reverse Proxy for CouchDB
        Posted  
        
            by Overflown
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Overflown
        
        
        
        Published on 2009-08-19T06:48:06Z
        Indexed on 
            2010/04/11
            19:23 UTC
        
        
        Read the original article
        Hit count: 325
        
I'm thinking of a web app that uses CouchDB extensively, to the point where there would be great gains from serving with the native erlang HTTP API as much as possible.
Can you configure Apache as a reverse proxy to allow outside GETs to be proxied directly to CouchDB, whereas PUT/POST are sent to the application internal logic (for sanitation, authentication...)? Or is this unwise -- the CouchDB built-in authentication options just seem a little weak for a Web App.
Thanks
© Stack Overflow or respective owner