Re: mod_vhost_alias




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'].

.