Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 40608 invoked from network); 17 Nov 2010 17:24:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Nov 2010 17:24:40 -0000 Received: (qmail 26609 invoked by uid 500); 17 Nov 2010 17:25:10 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 26581 invoked by uid 500); 17 Nov 2010 17:25:10 -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 26573 invoked by uid 99); 17 Nov 2010 17:25:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 17:25:10 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.213.180] (HELO mail-yx0-f180.google.com) (209.85.213.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Nov 2010 17:25:06 +0000 Received: by yxj4 with SMTP id 4so1344805yxj.11 for ; Wed, 17 Nov 2010 09:24:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.53.20 with SMTP id f20mr7941661wec.78.1290014682273; Wed, 17 Nov 2010 09:24:42 -0800 (PST) Received: by 10.216.71.139 with HTTP; Wed, 17 Nov 2010 09:24:42 -0800 (PST) In-Reply-To: References: Date: Wed, 17 Nov 2010 12:24:42 -0500 Message-ID: Subject: Re: local test server for couchapps From: Chad George To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e6d64188e45e0e049542f21d --0016e6d64188e45e0e049542f21d Content-Type: text/plain; charset=ISO-8859-1 I've rewritten my couchapp proxy server. Its now a single script and will work standalone or as a couchapp extension module. The rewrite was pretty major but I think its a lot better now that it uses asyncore instead of threaded client/server code. All of the Futon tests pass now, except one that sees the wrong port number because of the proxy. It also automatically parses the couchapp directory structure to determine when to map URLs to static files. https://github.com/cgeorge/couchapp-utils Enjoy, Chad On Tue, Nov 9, 2010 at 8:28 AM, Chad George wrote: > Great idea that'll let me eliminate the extra launch script. > Thanks. > On Nov 9, 2010 4:15 AM, "Benoit Chesneau" wrote: > --0016e6d64188e45e0e049542f21d--