Fixed a bug while getiing the document_root in new apache versions under debian based repos.