Hello, that strange, have 2 other machines where DOCUMENT_ROOT points to right location, after migrating to new machine problem occurs 2009/3/26 Eric Covener <covener@xxxxxxxxx>: > On Thu, Mar 26, 2009 at 3:00 PM, Lampa <lampacz@xxxxxxxxx> wrote: > >> VirtualDocumentRoot /var/www/domain.tld/home/%-3 > >> Everything woks ok (installed mod PHP). Excpet that variable >> DOCUMENT_ROOT ($_SERVER['DOCUMENT_ROOT'] in php) points to /htdocs. > > > VirtualDocumentRoot causes files to be served from someplace other > than your DocumentRoot, like an Alias, so the variable doesn't change: > > https://issues.apache.org/bugzilla/show_bug.cgi?id=26052 > > -- > Eric Covener > covener@xxxxxxxxx > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > -- Lampa --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx