couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Ramage <>
Subject Simple rewrite rule help
Date Tue, 26 Apr 2011 19:48:16 GMT
Hello all,

Can I define rule(s) that looks like this?  ->    /db1/_design/app/_rewrite  ->    /db2/_design/app/_rewrite  ->    /db3/_design/app/_rewrite

... and so on

or, if that messes up accessing the docs/endpoints, maybe  ->    /db1/_design/app/_rewrite  ->    /db2/_design/app/_rewrite  ->    /db3/_design/app/_rewrite

Notice, the hostname is the same, so I can't use a vhost rule. Also, I
would like to have it on a design doc (so it replicates), or only have
to perform the config once per server.

Is that possible? ( using couch 1.1 or greater if that helps)

View raw message