Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 49594 invoked from network); 5 Aug 2010 08:40:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Aug 2010 08:40:53 -0000 Received: (qmail 68265 invoked by uid 500); 5 Aug 2010 08:40:52 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 67935 invoked by uid 500); 5 Aug 2010 08:40:50 -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 67923 invoked by uid 99); 5 Aug 2010 08:40:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 08:40:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Aug 2010 08:40:48 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o758eRBY025800 for ; Thu, 5 Aug 2010 08:40:27 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o758eRPT025795; Thu, 5 Aug 2010 04:40:27 -0400 (EDT) Date: Thu, 5 Aug 2010 04:40:27 -0400 (EDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 49706] New: Per request DocumentRoot X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: Core X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ondrej@sury.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=49706 Summary: Per request DocumentRoot Product: Apache httpd-2 Version: 2.3-HEAD Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: bugs@httpd.apache.org ReportedBy: ondrej@sury.org Created an attachment (id=25842) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25842) Implementation of per request DocumentRoot Attached patch implements per request DocumentRoot. It keeps the DocumentRoot inside Core Module, but it copies it into each individual request_rec. This should solve long standing issue with mod-vhost-alias and other virtual hosting modules (mod-vhost-ldap) having incorrect DocumentRoot (which is used in other places like PHP and others). Attached patch also makes necessary changes to mod-vhost-alias. There is another user of ap_document_root() -> mod_rewrite. This will need more fixing in m-v-a if you use ${DOCUMENT_ROOT} in mod_rewrite. r->document_root has to be rewritten before mod_rewrite call, then m-v-a has to return DECLINED, and after mod_rewrite call there's need to be another m-v-a hook which do the real work. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org