couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikeal Rogers <>
Subject vhost + rewrite issues
Date Sun, 07 Mar 2010 05:21:03 GMT
I'm using the new vhost + rewrite stuff and really loving it but I
just hit a snag.

I've got something like

[vhost] /dbname/_design/app/_rewrite

Since all calls to the vhost are sent to the rewriter I can't access
the document API and I can't rebuild the document API in the rewrite
rules because *all* rules are relative to that ddoc.

I could get away with using _update for most things except I want to
use attachments. Same domain security being what it is this is quite

A proposed fix would be.

Making "to"

View raw message