Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a sub-directory on my web server (lighttpd) that I want to point at a CouchDB instance running on the same machine. I tried using mod_proxy but it sends along the whole request, like a proxy should, I know!


// What happens:
Lighttpd:  http://localhost/couchdb/some_request
CouchDB: http://localhost:5984/couchdb/some_request

// What I want to happen:
Lighttpd: http://localhost/couchdb/some_request
CouchDB: http://localhost:5984/some_request

Is there any way to make this setup work?

share|improve this question

I looks like it should be fairly easy. Take a look at:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.