Better handle DOCUMENT_ROOT (Alias ...)

Handle not so exotic Apache config with Alias folders: $_SERVER['DOCUMENT_ROOT'] can be wrong
http://stackoverflow.com/questions/4634869/php-how-to-get-the-document-root-from-inside-a-user-directory