Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 13900 invoked from network); 19 Aug 2010 17:45:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Aug 2010 17:45:30 -0000 Received: (qmail 70706 invoked by uid 500); 19 Aug 2010 17:45:30 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 70495 invoked by uid 500); 19 Aug 2010 17:45:29 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 70487 invoked by uid 99); 19 Aug 2010 17:45:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 17:45:29 +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 [74.125.82.54] (HELO mail-ww0-f54.google.com) (74.125.82.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Aug 2010 17:45:25 +0000 Received: by wwb17 with SMTP id 17so1667369wwb.23 for ; Thu, 19 Aug 2010 10:45:03 -0700 (PDT) Received: by 10.227.144.18 with SMTP id x18mr139802wbu.105.1282239903191; Thu, 19 Aug 2010 10:45:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.220.143 with HTTP; Thu, 19 Aug 2010 10:44:43 -0700 (PDT) In-Reply-To: References: From: Jason Smith Date: Fri, 20 Aug 2010 00:44:43 +0700 Message-ID: Subject: Re: Vhosting Requirements (was: Re: [jira] Commented: (COUCHDB-230) Add Support for Rewritable URL) To: dev@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016363ba73ef2577c048e30bd97 --0016363ba73ef2577c048e30bd97 Content-Type: text/plain; charset=UTF-8 On Fri, Aug 20, 2010 at 00:37, Benoit Chesneau wrote: > On Thu, Aug 19, 2010 at 7:22 PM, Jason Smith wrote: > > On Fri, Aug 20, 2010 at 00:13, Benoit Chesneau > wrote: > > > >> A couchapp should be "domain" independant, this is the principle of a > >> couchapp . So I can replicate anywhere and not only in > >> centralizedhost.com . Following this principle, it sound weird to set > >> an hostname in the CouchApp. > >> > > > > That is true. > > > > But partially, the reason couchapps run immediately after replication is > > because all couchapps are still very simple. In the future they will be > like > > The mature PHP apps. First you copy to the target. Then you run a > one-time > > config to input your email address, site name, theme preferences, etc. > etc. > > In there might be the vhost/rewrite questions. > > > there is no reason to not keep the simplicity while the couchapps > feature grow. And I personnaly hope that CouchDB will help to remove > the need of a centralized hosting and just use these services as a > facility to put online for a time our data. > > But that's just the way I see it. Today it's already possible to had > an hostname to any couchapp and write an handler listening on each dbs > to get updates in ddocs and then set hostname. > > What could be interresting is y to ease management of modules in > couch so you can add your mod_vhost like you can do on apache. > I am also very interested in that. It is very easy with Erlang modules. I think the only problem is not many people know Erlang. When I wrote my first auth handler, it was I think 15 lines of code. And I edited local.ini. Voila! -- Jason Smith Couchio Hosting --0016363ba73ef2577c048e30bd97--