couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Tetlaw <>
Subject Re: javascript on localhost can't access localhost:5984?
Date Tue, 23 Dec 2008 02:35:27 GMT
I got it working on my MacBook just using the built-in apache server  
and setting up a virtual host/reverse proxy.

So my say app was at localhost/app, all the Ajax requests went to  

I got the tip from here:

On 17/12/2008, at 1:13 PM, Matthew Wilson wrote:

> I'm working on an html page hosted on localhost that uses javascript
> to pull some data from my local couchdb.
> I guess I'm running into the cross-domain issue, because I'm getting
> an error "access to restricted URI denied."
> Anyhow, if I want to interact with couchdb using javascript, how do I
> do it?  do I need to keep my HTML file in couchdb itself?
> Matt
> -- 
> Matthew Wilson


View raw message