couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: 401 error with vhost on cloudant
Date Sun, 23 Jun 2013 17:54:17 GMT
Cloudant provides support to all its customers at support@cloudant.com. :)

B.


On 23 June 2013 18:50, Wordit <wordituk@gmail.com> wrote:
> I have a vhost set up on Cloudant working fine and pointing to
> mydomain.com/index.html. The problem is getting data from a protected
> database via JSONP. I get a 401 and no cross-domain error, *despite*
> the user being authenticated. A world-readable database is accessible
> fine, via JSONP.
>
> Accessing from the subdomain.cloudant.com works fine. So maybe
> cross-domain is the problem despite JSONP?
>
> I'm confused, can anyone help? Basically, I need to access a document
> at http://subdomain.cloudant.com/db/doc from http://example.com.
>
> Maybe somebody knows a rewrite rule so I can access the doc on my
> custom domain, e.g. http://mydomain.com/db/doc , instead of
> http://subdomain.cloudant.com/db/doc ?
>
> Many Thanks,
>
> Marcus

Mime
View raw message