Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 53917 invoked from network); 21 Mar 2010 02:22:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Mar 2010 02:22:34 -0000 Received: (qmail 10936 invoked by uid 500); 21 Mar 2010 02:22:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 10903 invoked by uid 500); 21 Mar 2010 02:22:33 -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 10895 invoked by uid 99); 21 Mar 2010 02:22:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Mar 2010 02:22:33 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=AWL,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [93.93.131.91] (HELO aristaeus.mediagraft.com) (93.93.131.91) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Mar 2010 02:22:26 +0000 Received: from merrells by aristaeus.mediagraft.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1NtAnl-0001Zv-8C for user@couchdb.apache.org; Sun, 21 Mar 2010 02:22:05 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: Attachment serving, directories From: John Merrells In-Reply-To: <4BA55DDF.90708@gmail.com> Date: Sat, 20 Mar 2010 19:22:02 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <161DEF26-9192-4891-B488-EF6773EA078E@merrells.com> References: <4BA55A9B.9030802@gmail.com> <4BA55DDF.90708@gmail.com> To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1077) On Mar 20, 2010, at 4:44 PM, 7zark7 wrote: >> I do not want to have another webapp "in front" of Couch to translate = a >> request for "/scripts/main.js" into "%2fscripts%2fmain.js/data", or >> "/a1b0e2349f53456/scripts/main.js", etc. How about serving the static content directly from the disk with a = webserver like apache or nginx.... If you really want the content in couch, then you could do the url = rewrite with some rules in the webserver config...=20 Or use a reverse proxy like varnish.... or squid if you're feeling = brave.... and then the content could be in couch for versioning, but served fast from = the cache.=20 John --=20 John Merrells http://johnmerrells.com +1.415.244.5808