Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 12131 invoked from network); 31 Dec 2004 00:58:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 31 Dec 2004 00:58:30 -0000 Received: (qmail 99992 invoked by uid 500); 31 Dec 2004 00:58:29 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 99221 invoked by uid 500); 31 Dec 2004 00:58:27 -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 99207 invoked by uid 99); 31 Dec 2004 00:58:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from force-elite.com (HELO utopia.in.force-elite.com) (216.255.199.145) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 30 Dec 2004 16:58:24 -0800 X-AuthUser: chip@force-elite.com Received: from [10.0.0.101] (10.0.0.101:52633) by utopia.in.force-elite.com with [XMail 1.17 (Linux/Ix86) ESMTP Server] id for from ; Thu, 30 Dec 2004 16:58:20 -0800 Message-ID: <41D4A42E.9070302@force-elite.com> Date: Thu, 30 Dec 2004 16:58:22 -0800 From: Paul Querna User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: How to change ap_document_root variable from a apache2 module ? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Xavier Beaudouin wrote: > Hello there, > > First appology me if my english is bad or if I sent this question to the > wrong mailing list, since I have > search a lot with google and was not able to find any good hint about > that kind of question. > > I am making a module for apache2 only that does Virtual Hosting System > within SQL or LDAP backend. > The module is based on heavy modified mod_vdbh and some functionalities > from me. Seen mod_vhost_dbi? http://www.outoforder.cc/projects/apache/mod_vhost_dbi/ I am the author... > > I have one problem is to set internal variable from Apache 2 > (DOCUMENT_ROOT) to the correct value (intead of getting > the global one all the time). It is impossible with the current way virtual hosts and document roots are handled. -Paul Querna