Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 15369 invoked from network); 17 Dec 2008 02:13:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Dec 2008 02:13:34 -0000 Received: (qmail 84379 invoked by uid 500); 17 Dec 2008 02:13:46 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 83964 invoked by uid 500); 17 Dec 2008 02:13:44 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 83953 invoked by uid 99); 17 Dec 2008 02:13:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 18:13:44 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.198.230] (HELO rv-out-0506.google.com) (209.85.198.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 02:13:30 +0000 Received: by rv-out-0506.google.com with SMTP id g37so3405668rvb.35 for ; Tue, 16 Dec 2008 18:13:08 -0800 (PST) Received: by 10.140.128.3 with SMTP id a3mr106660rvd.232.1229479988223; Tue, 16 Dec 2008 18:13:08 -0800 (PST) Received: by 10.141.86.7 with HTTP; Tue, 16 Dec 2008 18:13:08 -0800 (PST) Message-ID: Date: Tue, 16 Dec 2008 21:13:08 -0500 From: "Matthew Wilson" To: user@couchdb.apache.org Subject: javascript on localhost can't access localhost:5984? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org 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 matt@tplus1.com http://tplus1.com