incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: VHosts and Rewrite rules
Date Mon, 18 Oct 2010 17:01:38 GMT
On Mon, Oct 18, 2010 at 6:48 PM, Ido Ran <ido.ran@gmail.com> wrote:

> I've add vhosts section to my local.ini file and there I'm not sure how to
> redirect http://localhost:5984/todos/* to
> http://localhost:5984/todos/_design/app/_rewrite
>

You can't unless you don't want access to the db. Better to use 2 names


[vhosts]
*/app/todo = todos/_design/app/_rewrite

for ex.


- benoƮt

Mime
View raw message