Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 37372 invoked from network); 16 Aug 2010 15:06:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Aug 2010 15:06:40 -0000 Received: (qmail 27041 invoked by uid 500); 16 Aug 2010 15:06:40 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 26868 invoked by uid 500); 16 Aug 2010 15:06:38 -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 26854 invoked by uid 99); 16 Aug 2010 15:06:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 15:06:38 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bchesneau@gmail.com designates 209.85.214.180 as permitted sender) Received: from [209.85.214.180] (HELO mail-iw0-f180.google.com) (209.85.214.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Aug 2010 15:06:30 +0000 Received: by iwn4 with SMTP id 4so2337992iwn.11 for ; Mon, 16 Aug 2010 08:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=sAzRbOnGQvNLZoPxnfXOJbM084CMxNDS9wLeKln8O/U=; b=rS2DtZEaDNQ4g2xLByCy+2tiS3CRvXELlOhjlsd+3nNFqnxQHHrYn5N4F/zZGWE43E zV0Ie0PyB5g7faEiIAlSoIEcavKrktl28qGXihP+n8E7QkzSoRhiIZ7OF76V+yDJgErM EbyKxppNkUO3nyIDFe0uf2FwiDj4mYGL79IuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HGnPWRJ6VhXhpnaZGOrz8gaYvk9O/BmDSE27b3+eXIJNz2p7J/yAZY4aUjHlqH58VD BGbums9YNNUdEQyx4W2LQ42LNKNJES11sanSUDnqwqQC6tVofyHAGz8K5k8Eal8tuZ99 ilWbdvhyz2zrgdHFubedbq0ADtP2OX9pgbYGM= MIME-Version: 1.0 Received: by 10.231.157.135 with SMTP id b7mr5595529ibx.164.1281971169390; Mon, 16 Aug 2010 08:06:09 -0700 (PDT) Received: by 10.231.169.18 with HTTP; Mon, 16 Aug 2010 08:06:09 -0700 (PDT) Date: Mon, 16 Aug 2010 17:06:09 +0200 Message-ID: Subject: new vhost manager From: Benoit Chesneau To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org So to solve the previous bug I mentionned, I've refactored the vhost part. I put it in its own gen_server. It's now possible add dynamically vhosts without restart by just adding them to the ini, It allows wildcard in vhost, specific functions in erlang per domain (which allows someone to build its own route). Default redirect function could aso be changed in the ini. It also fix issue in etap test (160) . more details here : https://issues.apache.org/jira/browse/COUCHDB-855 - benoit