couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin Lepicki <>
Subject External process for httpd_global_handlers
Date Tue, 29 Sep 2009 09:10:51 GMT

I am developing Flex application with CouchDB backend (only GET
requests, for images). Flash/flex apps must pass security rules for
flash player (more info on,
but all I want to get special text file crossdomain.xml at
/crossdomain.xml, for example http://localhost:5984/crossdomain.xml.
Now we are using apache proxy with rewrite rule to achieve it.
I have looked at, but
only [httpd_db_handlers] are described there. In this case I want to
use external process for [httpd_global_handlers], but I can't get it

I am using Python script described at local.ini
configuration file I have added:

cross = python /path/bin/
crossdomain.xml = {couch_httpd_external, handle_external_req, <<"cross">>}

When pointing to http://localhost:5984/crossdomain.xml I get:
{"error":"external_server_error","reason":"Broken assumption"}

When changing [httpd_global_handlers] to [httpd_db_handlers] it works
perfectly, but only for databases, like

Is there any chance to get per-node external handler?

Marcin Lepicki

View raw message