Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 80670 invoked by uid 500); 20 Jun 2003 21:53:38 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 80577 invoked from network); 20 Jun 2003 21:53:37 -0000 Reply-To: From: "kibble" To: Subject: Module help... Date: Fri, 20 Jun 2003 22:54:36 +0100 Organization: ApRoXiTy Message-ID: <000001c33776$8b46d6d0$0300a8c0@kibble> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi there. I'm creating a module for Apache2 and wanted to know how to take a variable something like this: [CODE] char *new_conf; new_conf = " ServerAdmin kibble@aproxity.com DocumentRoot /var/www/kibble ServerName www.aproxity.com ServerAlias www.aproxity.com CustomLog logs/a_k.log combined ErrorLog logs/e_k.log ScriptAlias /cgi-bin/ "/var/www/kibble/cgi-bin" AllowOverride None Options None Order allow,deny Allow from all "; [/CODE] Parse that variable and then merge it into the configuration? If anyone wants to see the code as it stands visit... http://aproxity.com/mod_kmipvd.c If I can at least see an example or know if it possible or not possible, then I would be grateful! Thank you in advance kibble