couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Reed <joelwr...@gmail.com>
Subject fix for bug 867 - "Add http handlers for root files with special meanings, such as crossdomain.xml."
Date Mon, 31 Jan 2011 14:35:42 GMT
Here's a fix for bug 867:

https://github.com/joelwreed/couchdb/commit/528c52e6517b777f22fee0ab7fb0f7977c4c05c2 


It adds a new handler, handle_file_req, to serve up files like 
/crossdomain.xml from a couchdb instance. For example, you could add:

[httpd_global_handlers]
crossdomain.xml = {couch_httpd_misc_handlers, handle_file_req, 
"/usr/share/couchdb/www/crossdomain.xml" }

To your local.ini to serve up crossdomain.xml.

jr

Mime
View raw message