couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Reed <>
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: 

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

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

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


View raw message