Hi!
I have VirtualDocumentRoot /var/www/htdocs/%-2/%-3/. $_SERVER['DOCUMENT_ROOT'] is /var/www/htdocs. Not good. Something like this is done here. As PHP is not CGI but a module, this does not work. I guess something should be done with PHP source file mod_php4.c around line 553: add_cgi_vars(r); But I do not know too much about Apache module writing... Any help would be warmly approciated.