Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 72969 invoked from network); 1 Jun 2010 10:16:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 10:16:43 -0000 Received: (qmail 97591 invoked by uid 500); 1 Jun 2010 10:16:43 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 97412 invoked by uid 500); 1 Jun 2010 10:16:41 -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 97404 invoked by uid 99); 1 Jun 2010 10:16:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 10:16:40 +0000 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=AWL,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.229.52.226] (HELO freya.local) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 10:16:33 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by freya.local (Postfix) with ESMTP id 6BDEA1C39EF for ; Tue, 1 Jun 2010 11:16:12 +0100 (BST) References: In-Reply-To: Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Message-Id: <8B73B9B3-BDC6-4872-8377-1273C293A245@apache.org> Content-Transfer-Encoding: 7bit From: Nick Kew Subject: Re: Can an Apache module inject configuration in runtime? Date: Tue, 1 Jun 2010 11:16:12 +0100 To: modules-dev@httpd.apache.org X-Mailer: Apple Mail (2.1078) On 1 Jun 2010, at 10:39, Andrew Godziuk wrote: > I'm wondering if it's possible for an Apache module to change global > config structures. Basically, no, not without a restart. Though there are some aspects of configuration you can change on the fly. > 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. There are some similar modules around. Someone already said mod_vhost_alias, but I'd also point you at mod_vhost_dbd as an example that may be nearer to what you want if your needs are sufficiently complex to demand a new module. -- Nick Kew