You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Anh <7z...@gmail.com> on 2010/07/16 06:16:37 UTC

insecure_rewrite_rule

Hi, what does this error mean?
insecure_rewrite_rule [<<"..">>,<<"..">>,<<"..">>,<<"database">>,<<>>] blocked

What are the rules for allowed rewrites?

Thanks

Re: insecure_rewrite_rule

Posted by Anh <7z...@gmail.com>.
Thanks for the explanation Chris


On Fri, Jul 16, 2010 at 11:16 AM, J Chris Anderson <jc...@gmail.com> wrote:
>
> On Jul 15, 2010, at 9:16 PM, Anh wrote:
>
>> Hi, what does this error mean?
>> insecure_rewrite_rule [<<"..">>,<<"..">>,<<"..">>,<<"database">>,<<>>] blocked
>>
>> What are the rules for allowed rewrites?
>>
>
> The point of this is to keep you from rewriting to another database without knowing what you are doing. (So that a sysadmin can be assured that couchapps can be "jailed" in subdomains.)
>
> You can turn this off in the configuration system by setting secure_rewrites=false
>
> Chris
>
>> Thanks
>
>

Re: insecure_rewrite_rule

Posted by J Chris Anderson <jc...@gmail.com>.
On Jul 15, 2010, at 9:16 PM, Anh wrote:

> Hi, what does this error mean?
> insecure_rewrite_rule [<<"..">>,<<"..">>,<<"..">>,<<"database">>,<<>>] blocked
> 
> What are the rules for allowed rewrites?
> 

The point of this is to keep you from rewriting to another database without knowing what you are doing. (So that a sysadmin can be assured that couchapps can be "jailed" in subdomains.)

You can turn this off in the configuration system by setting secure_rewrites=false

Chris

> Thanks