Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 99328 invoked from network); 27 Jan 2004 19:36:04 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Jan 2004 19:36:04 -0000 Received: (qmail 6860 invoked by uid 500); 27 Jan 2004 19:34:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 6840 invoked by uid 500); 27 Jan 2004 19:34:28 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 6809 invoked from network); 27 Jan 2004 19:34:27 -0000 Received: from unknown (HELO munk.nu) (213.152.51.194) by daedalus.apache.org with SMTP; 27 Jan 2004 19:34:27 -0000 Received: from munk by munk.nu with local (Exim 4.30; FreeBSD) id 1AlYOy-0006MP-Do; Tue, 27 Jan 2004 18:57:32 +0000 Date: Tue, 27 Jan 2004 18:57:32 +0000 From: Jez Hancock To: Jerome Schevingt Cc: users@httpd.apache.org Message-ID: <20040127185732.GB23988@users.munk.nu> Mail-Followup-To: Jerome Schevingt , users@httpd.apache.org References: <00cd01c3e498$1b1e7a50$6432a8c0@Jerome> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00cd01c3e498$1b1e7a50$6432a8c0@Jerome> User-Agent: Mutt/1.4.1i Sender: Jez Hancock X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Apache Vhost.conf into a mysql table ? X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, Jan 27, 2004 at 06:40:43AM +0100, Jerome Schevingt wrote: > I am search a solution, on Apache 2.0.XX (a modules ?) for the > vhosts.conf are into a MySQL Table. > > I use one of my Apache serveur for RedirectPermanent and RewriteRules, > actually, i use a file .. > > Into the table, i want put all information of and > dynamiquely load at all request > > Do you know a solution ? You could look into using mod_perl to generate your httpd.conf vhost stubs dynamically. Essentially you would enable mod_perl in httpd.conf and then use perl scripting inside your httpd.conf file to generate the required vhost stubs, gathering the vhost data as required from the mysql db. I've not tried this, but from what little I've read from the mod_perl specs you should be able to do this kind of thing. See here for more info: http://perl.apache.org/docs/1.0/guide/config.html#Apache_Configuration_in_Perl -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/ - ipfw peruser traffic logging --------------------------------------------------------------------- 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