[nycphp-talk] $_SERVER['DOCUMENT_ROOT']
Chris Shiflett
shiflett at php.net
Thu Dec 16 09:05:34 EST 2004
--- "Donald J. Organ IV" <dorgan at optonline.net> wrote:
> does anyone know a work around for the lack of
> $_SERVER['DOCUMENT_ROOT'] on windows 2003 servers
I put this in httpd.conf to work around the lack of
$_SERVER['SERVER_ROOT']:
SetEnv SERVER_ROOT /path/to/apache
You could do the same sort of thing for document root.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly HTTP Developer's Handbook - Sams
Coming Soon http://httphandbook.org/
More information about the talk
mailing list