You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Yasuhiro ABE <ya...@yasundial.org> on 2010/11/27 05:58:42 UTC

FYI. authentication handler working with apache reverse proxy.

Hi all,

It's FYI, but your comments are always welcome.

I read the article; http://wiki.apache.org/couchdb/Apache_As_a_Reverse_Proxy
But it doesn't work with the authenticate_db, so I wrote an authentication handler.

	http://www.yasundial.org/blog/images/20101127.1.couchdb101.webproxy.diff

It sets the user's role to userCtx  by the authenticated username by apache.

I don't know anybody else needs this feature, but it works well to my purpose.

regards,
-- 
Yasuhiro ABE   <ya...@yasundial.org> or <ya...@gmail.com>
web:           http://www.yasundial.org/
twitter:       http://twitter.com/YasuhiroABE