Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 58412 invoked from network); 18 Jun 2009 14:22:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 14:22:52 -0000 Received: (qmail 5085 invoked by uid 500); 18 Jun 2009 14:23:02 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 5032 invoked by uid 500); 18 Jun 2009 14:23:02 -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 5022 invoked by uid 99); 18 Jun 2009 14:23:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 14:23:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of boermans@gmail.com designates 209.85.132.243 as permitted sender) Received: from [209.85.132.243] (HELO an-out-0708.google.com) (209.85.132.243) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 14:22:53 +0000 Received: by an-out-0708.google.com with SMTP id b6so457242ana.5 for ; Thu, 18 Jun 2009 07:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=HJfKZjHddhnLyCIoHS+pnNTu0ORdDb9VWj5kBB7ek0c=; b=DRRG9vUqA45jXmAi0kB9zWhP+VpCOYQZ9lCHWlNajHXqYQqckkXvUKqB1vyAmnHwBU 6Jrl9VHWi9oGJ7iQxH7hgnyCsTexvT7Tyc0z+VFTCYo8XNZa46rGe5oKEFEza6OP+UWy toBHK9VoZUshO6TvwbwTImyCsKiF9sC9lhZVE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=fLwoaqhtz3oT1D5KvU3MUwUsqn62t1ktNmuuWT6TEvSuPMRIEgoZ9Xc8klSOcfX3S+ WycUXw70IRQBNJM80Jx32GewZ+cp5cwXMkxVPgVMZFZyVbjVJG0p5q8oqM6w2Om0ctAO qT7Cr8XjVkzXv+3ULgcVyYXovbyK2Io/fYqfI= MIME-Version: 1.0 Received: by 10.100.141.20 with SMTP id o20mr2147348and.40.1245334952336; Thu, 18 Jun 2009 07:22:32 -0700 (PDT) In-Reply-To: References: <41c8480f0906180506u3796d492h89549c4e376f0467@mail.gmail.com> <558050c20906180523x344c3fa2p84fcf2121200b561@mail.gmail.com> <558050c20906180527r6a652f7er1df8b3226b94fd34@mail.gmail.com> <41c8480f0906180549x2a1c7323va5cce7c5cfb4f0ae@mail.gmail.com> <4A3A420D.6020407@gmx.net> <41c8480f0906180651v2a362038m4a27537be2d01e5c@mail.gmail.com> Date: Thu, 18 Jun 2009 23:52:32 +0930 Message-ID: Subject: Re: jquery and trailing \n From: Oliver Boermans To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/6/18 Jan Lehnardt : > You shouldn't do that :) alternatively you can use Apache's mod_proxy > or similar to proxy CouchDB to your site's domain. Gotto learn how to do this properly. I added a .htaccess file to my webserver documents directory that looks like: Options FollowSymLinks RewriteEngine On RewriteBase / RewriteRule cdb/(.*) http://127.0.0.1:5984/$1 [P] This allowed me to stick files in my regular localhost directory and refer to couchdb as if it was in a sub-directory. then http://localhost/project/cdb/ is equivalent to http://localhost:5984/ Crude but works for messing around on my machine locally.