couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes J. Schmidt" <schm...@netzmerk.com>
Subject Re: Simple rewrite rule help
Date Wed, 27 Apr 2011 07:09:55 GMT
Am Mittwoch, den 27.04.2011, 08:47 +0200 schrieb Benoit Chesneau:
> On Wed, Apr 27, 2011 at 8:19 AM, Johannes J. Schmidt
> <schmidt@netzmerk.com> wrote:
> 
> > Could you point me to some documentation about that feature?
> >
> I should update the wiki. In the mean time, you can have a look on the tests:
> 
> https://github.com/benoitc/couchdb/blob/master/test/etap/160-vhosts.t
Thanks.

Just to make it clear: it seems like
 ":appname.:dbname.example.com" => "/:dbname/_design/:appname/_rewrite/"
should work but you mention that variable substitution in paths is not
supported, so
 ":appname.example.com/:dbname" => "/:dbname/_design/:appname/_rewrite/"
would not work?
And when, why is this not supported? Is it according to 1103?

g jo

Mime
View raw message