Re: mod_vhost_alias
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: mod_vhost_alias

From: Sjoerd <sjoerder@gmail.com>
Date: Fri Mar 31 2006 - 11:37:11 CEST

Andy Jacobs wrote:
> We have the mod_vhost_alias module installed on our FreeBSD box. This has
> screwed up the $_SERVER['DOCUMENT_ROOT'] variable for php as it's set to
> /home in httpd.conf.

See:
http://issues.apache.org/bugzilla/show_bug.cgi?id=26052

A workaround may be to auto-include (php.ini: auto_prepend_file) a file
which sets $_SERVER['DOCUMENT_ROOT'].
Received on Mon May 1 02:45:39 2006