How can I proxy couchDB as a sub-diectory with lighttpd?
Posted
by
indieinvader
on Server Fault
See other posts from Server Fault
or by indieinvader
Published on 2010-08-23T22:44:56Z
Indexed on
2011/01/13
15:55 UTC
Read the original article
Hit count: 499
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!
So:
// What happens:
Lighttpd: http://localhost/couchdb/some_request
|
V
CouchDB: http://localhost:5984/couchdb/some_request
// What I want to happen:
Lighttpd: http://localhost/couchdb/some_request
|
V
CouchDB: http://localhost:5984/some_request
Is there any way to make this setup work?
© Server Fault or respective owner