Then your not setting it correctly via your apache module. FYI - If you using apache 1.3.x you CANNOT reset document root. DOCUMENT_ROOT is set at a low level of initial child request startup. Your third party module isnt at a low enough level to do this.
I kow this because my company needed the same thing. Our developers ended up maintaining a patch to apache 1.3.x source tree. We do it at the httpd.c level, and NOT the module level. This isn't PHP's fault, it's apaches. On Wed, 24 Sep 2003, Mark Morley wrote: > > This doesn't really have anything to do with PHP. You are writing an > > Apache module. You simply have to change the doc_root before Apache gets > > to the content handling phase of the request_rec. And to change the > > doc_root I think you'd just fiddle with conf->ap_document_root and it > > should all fall into place. But again, this has nothing to do with PHP. > > > > -Rasmus > > Thanks for the reply, but that's not it. I'm already setting the > document root as far as Apache is concerned, at it works fine for > everything *except* PHP. That is, PHP scripts are loaded and run > properly, except that $DOCUMENT_ROOT does not reflect the value > I set. So the question remains, how can I override PHP's opinion > of what the document root is (if at all)? > > Mark > > -- Regards, -Chris __________________________________________________________________ Christopher Murley PHONE: 309.743.0800 Senior Systems Administrator TOLL FREE: 800.293.9576 TownNews.com \ Lee Enterprises FAX: 309.743.0830 1521 47th Avenue E-Mail: [EMAIL PROTECTED] Moline, Illinois 61265 Web: http://www.TownNews.com ------------------------------------------------------------------ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php