Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 63764 invoked from network); 1 Jun 2010 09:51:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 09:51:43 -0000 Received: (qmail 59633 invoked by uid 500); 1 Jun 2010 09:51:42 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 59501 invoked by uid 500); 1 Jun 2010 09:51:40 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 59488 invoked by uid 99); 1 Jun 2010 09:51:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 09:51:40 +0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=NO_DNS_FOR_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of info@bnoordhuis.nl designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-ww0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 09:51:32 +0000 Received: by wwb13 with SMTP id 13so403081wwb.18 for ; Tue, 01 Jun 2010 02:51:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.155.196 with SMTP id j46mr5151485wek.1.1275385872329; Tue, 01 Jun 2010 02:51:12 -0700 (PDT) Received: by 10.216.9.74 with HTTP; Tue, 1 Jun 2010 02:51:11 -0700 (PDT) X-Originating-IP: [145.222.138.134] In-Reply-To: References: Date: Tue, 1 Jun 2010 11:51:11 +0200 Message-ID: Subject: Re: Can an Apache module inject configuration in runtime? From: Ben Noordhuis To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Jun 1, 2010 at 11:39, Andrew Godziuk wrote: > What I want to achieve is injecting new vhosts without Apache restart. > Of course I'm aware that the changes would fully take effect after all > workers have recycled, but for me - it's still better than a restart. Andrew, wouldn't you be better off with something like mod_vhost_alias, as-is or as leitmotiv? Propagating configuration changes to all workers is rather difficult, especially with pre-fork MPMs.