Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 55559 invoked from network); 10 Nov 2010 17:35:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Nov 2010 17:35:57 -0000 Received: (qmail 6321 invoked by uid 500); 10 Nov 2010 17:36:28 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 6158 invoked by uid 500); 10 Nov 2010 17:36: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: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 6150 invoked by uid 99); 10 Nov 2010 17:36:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 17:36:27 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [188.40.99.202] (HELO eru.sfritsch.de) (188.40.99.202) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 17:36:19 +0000 Received: from [10.1.1.6] (helo=k.localnet) by eru.sfritsch.de with esmtp (Exim 4.69) (envelope-from ) id 1PGEaV-0006lF-9o for dev@httpd.apache.org; Wed, 10 Nov 2010 18:35:59 +0100 From: Stefan Fritsch To: dev@httpd.apache.org Subject: Re: SetVirtualDocumentRoot Date: Wed, 10 Nov 2010 18:35:53 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32-5-amd64; KDE/4.4.5; x86_64; ; ) References: <99EA83DCDE961346AFA9B5EC33FEC08B051D4037@VF-MBX11.internal.vodafone.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201011101835.55771.sf@sfritsch.de> X-Virus-Checked: Checked by ClamAV on apache.org On Wednesday 10 November 2010, Rich Bowen wrote: > On Nov 10, 2010, at 11:26 AM, Pl=FCm, R=FCdiger, VF-Group wrote: > >> -----Original Message----- > >> From: Rich Bowen > >> To: dev@httpd.apache.org > >> Subject: SetVirtualDocumentRoot > >>=20 > >> I was reading bug reports this morning, and wondered if > >> someone could > >> take a look at the patch offered here: > >>=20 > >> https://issues.apache.org/bugzilla/show_bug.cgi?id=3D26052#c19 > >=20 > > The patch doesn't look appealing to me. Having a module changing > > the core config > > on the fly always looks nasty to me, even more so if it stores > > data in the core config > > structure that is allocated from a request pool. IMHO this is > > waiting for all > > nasty things to happen, SEGFAULT at best. >=20 > Ok. Fair enough. How about something that set the ENV var for just > the current request? >=20 > The frequency with which this gets asked seems to make it > worthwhile doing something, even if this patch isn't the right > thing to do. Maybe the larger solution of having a document_root field in the=20 request_rec would be better. Has anyone had a chance to look at=20 Ondrej's patch, already? I didn't get around to doing it, yet. https://issues.apache.org/bugzilla/show_bug.cgi?id=3D49705