incubator-couchdb-user mailing list archives

Hi,
I've successfully added a couple of proxies to the [httpd_global_handlers]
configuration. One of them uses basic auth. To get that one to work though,
I have to remove the default_authentication_handler from the list of
authentication_handlers in the [httpd] configuration. Otherwise, the
Authorization:Basic header is incorrectly rejected (401 Unauthorized)
despite couchdb being in Admin Party! mode and the request never gets to be
proxied.
The trouble is, without the default_authentication_handler, document
updates (using erica for example) fail with the message
{"error":"unauthorized","reason":"You are not a db or server admin."}. So I
guess the default_authentication_handler has to be included.
Is there a mechanism for the default_authentication_handler to ignore the
Authorization:Basic header for proxied URLs?
Or put another way, has anyone had success with authenticated proxied
servers in couchdb?