Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 6450 invoked from network); 24 Jul 2006 11:56:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jul 2006 11:56:29 -0000 Received: (qmail 18146 invoked by uid 500); 24 Jul 2006 11:56:28 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 18105 invoked by uid 500); 24 Jul 2006 11:56:28 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 18079 invoked by uid 99); 24 Jul 2006 11:56:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 04:56:28 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 04:56:28 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 4DABD714283; Mon, 24 Jul 2006 11:54:10 +0000 (GMT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 26052] - DOCUMENT_ROOT environment variable set incorrectly with VirtualDocumentRoot In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060724115410.4DABD714283@brutus.apache.org> Date: Mon, 24 Jul 2006 11:54:10 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=26052 davidp@preshweb.co.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davidp@preshweb.co.uk ------- Additional Comments From davidp@preshweb.co.uk 2006-07-24 11:54 ------- (In reply to comment #17) > Created an attachment (id=17663) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17663&action=view) [edit] > set document root with mod_vhost_alias > > This has been causing problems for me with PHP. I wrote a patch for > mod_vhost_alias.c to dynamically set document_root. The changed behavior is > controlled by setting SetVirtualDocumentRoot to "on" or "true". Patch is > attached. Nice one, I personally believe that functionality should be included in mod_vhost_alias.c - enabling it with a new directive (SetVirtualDocumentRoot) is a great idea, so it does not mess with document_root when not expected to, but can be told to do so. I understand the Apache developers resistance to including this functionality as document_root should not be relied upon to give the correct path if mod_alias/mod_rewrite etc have done some funky magic. However, the fact remains that there's a LOT of scripts out there which do rely on it, and for most users, the behaviour they expect (the Right Thing) is for document_root to be set to whatever document_root was decided upon by mod_vhost_alias.c. The patch didn't work for me, for Apache 2.2.2 - looks like vhost_alias_interpolate has been changed since you wrote your patch. I'll manually apply the changes to that hunk and regenerate the patch and attach it shortly. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org