couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Merrells <>
Subject Re: Attachment serving, directories
Date Sun, 21 Mar 2010 02:12:44 GMT

On Mar 20, 2010, at 6:56 PM, 7zark7 wrote:

> "Is there a way to have a unique document per file, which *also* allows
> Couch to directly serve web requests for the original directory
> structure and file names. (e.g. "/scripts/main.js")"

Mmm... I think the couch path is /database/document/attribute, so even 
with a database of 'scripts', and a document id of 'main.js', so you're short
by the attribute name.

Maybe there's a way to rewrite the urls within couch.... 


John Merrells

View raw message