Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 51459 invoked from network); 27 Nov 2006 14:39:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 14:39:13 -0000 Received: (qmail 37153 invoked by uid 500); 27 Nov 2006 14:39:09 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 37143 invoked by uid 500); 27 Nov 2006 14:39:09 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 37132 invoked by uid 99); 27 Nov 2006 14:39:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 06:39:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [80.229.52.226] (HELO grimnir.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 06:38:56 -0800 Received: from grimnir.webthing.com (localhost [127.0.0.1]) by grimnir.webthing.com (Postfix) with ESMTP id C08F32136 for ; Mon, 27 Nov 2006 14:38:34 +0000 (GMT) Date: Mon, 27 Nov 2006 14:38:34 +0000 From: Nick Kew To: users@httpd.apache.org Message-ID: <20061127143834.74645d3a@grimnir> In-Reply-To: References: Organization: WebThing X-Mailer: Sylpheed-Claws 2.5.0-rc3 (GTK+ 2.10.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Controlling an external program using Apache On Mon, 27 Nov 2006 15:03:09 +0100 "Boyle Owen" wrote: > > It is not possible by adding the dependencies in windows > > service manager. "It is not possible ...", the constant cry of the Windows user. If that's true, it looks like a good reason to upgrade to *X. > Luckily, apache is open-source. So either write a module, as Nick > suggests, or simply add a few steps to httpd.c to start and stop your > external process at the appropriate point. The reason a module is the better approach is that it means you don't have to redo it all every time you upgrade Apache. That's one of the basic principles of modularity. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org