On Fri, Mar 4, 2011 at 9:06 AM, Dmitry Stropaloff <[email protected]> wrote:
> Hi,
>
> I'm trying to rewrite urls for my views (application will use CouchDB
> virtual host):
>
> "from": "/views/*",
> "to": "_view/*",
> "method": "*",
> "query": {}
>
> So, when I try to access db/_design/db/_rewrite/views/
> in log there is such info: rewrite to "/db/_design/db/_view"
>
> As expected, I get {"error":"method_not_allowed","reason":"Only
> GET,POST,HEAD allowed"}
>
> But if I try to reach some view function - db/_design/db/_rewrite/views/all
> in log I get a very strange (for me) message: rewrite to
> "/db/views/all?doc=views&attachment=all"

Never saw that. what exact url are you calling and the rewrite rules ?

- benoît

Reply via email to