We have a number of php scripts that use the DocumentRoot variable passed from the server. We are trying to use these scripts in a dynamic virtual hosting environment. The problem is, the main DocumentRoot path is being passed to the scripts, not the VirtualDocumentRoot (or DocumentRoot) I have set for the virtualhost.
*** This bug has been marked as a duplicate of 26052 ***