couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasuhiro ABE <y...@yasundial.org>
Subject FYI. authentication handler working with apache reverse proxy.
Date Sat, 27 Nov 2010 04:58:42 GMT
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   <yasu@yasundial.org> or <yadiary@gmail.com>
web:           http://www.yasundial.org/
twitter:       http://twitter.com/YasuhiroABE

Mime
View raw message