Re: cvs: phpweb /error index.php

From: Date: Sat, 24 May 2003 11:55:15 +0000
Subject: Re: cvs: phpweb /error index.php
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-18009@lists.php.net to get a copy of this message
On Sat, May 24, 2003 at 11:30:34AM -0000, Gabor Hojtsy wrote: > + include_once $_SERVER['DOCUMENT_ROOT'] . $try; I've experienced that with mass virtual hosting in Apache (see http://httpd.apache.org/docs/mod/mod_vhost_alias.html), the DOCUMENT_ROOT isn't defined as expected. This could of course just be my config, but I use this mass virtual hosting feature on my dev-server, and the DOCUMENT_ROOT on all virtualhost served is set to /var/www - the document-root set in the main apache configuration - not to /home/devel/htdocs/<hostname>, as I expected.. As I said, this could just be my apache beeing set up incorrectly, but if this is the way it is, that include_once-line could break things for people using this apache-feature. -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for extra security"

« previous php.mirrors (#18009) next »