Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 69623 invoked from network); 28 Nov 2008 18:50:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2008 18:50:15 -0000 Received: (qmail 51552 invoked by uid 500); 28 Nov 2008 18:50:25 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 51524 invoked by uid 500); 28 Nov 2008 18:50:25 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 51512 invoked by uid 99); 28 Nov 2008 18:50:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2008 10:50:25 -0800 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_NEUTRAL,URIBL_RHS_DOB,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.97.50.139] (HELO jan.prima.de) (83.97.50.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2008 18:48:57 +0000 Received: from [192.168.1.100] (christina.dreid.org [::ffff:76.191.158.128]) (AUTH: LOGIN jan, SSL: TLSv1/SSLv3,128bits,AES128-SHA) by jan.prima.de with esmtp; Fri, 28 Nov 2008 18:49:41 +0000 Message-Id: <50D8F1E0-87E9-4C1C-ABF5-2FA692BB2FBD@apache.org> From: Jan Lehnardt To: couchdb-user@incubator.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Hosting a Cappuccino application from CouchDB Date: Fri, 28 Nov 2008 10:49:09 -0800 References: X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org I tired with the LightsOff demo. Two ways: 1) Put the LightsOff directory into $prefix/share/couchdb/www/ LightsOff can be accessed at http://127.0.0.1:5984/_utils/LightsOff/ (trailing slash is significant). 2) Add this to your $prefix/etc/couchdb/local.ini file: [httpd_global_handlers] LightsOff = {couch_httpd_misc_handlers, handle_utils_dir_req, "/path/ to/LightsOff"} (see default.ini for more examples ot http global handlers) LightsOff can be accessed at http://127.0.0.1:5984/LightsOff/ (trailing slash is significant), Cheers Jan -- On 28 Nov 2008, at 10:24, Justin Walgran wrote: > The Cappuccino web framework (http://cappuccino.org/) relies on a > library of javascript files in nested directories below a top-level > Frameworks directory. Is there a way I can serve this up from Couch? > > - Justin Walgran >