Revert "Removed document_root override"

This reverts commit 71dc087ac0aca643c7836ad6d6b59ff722109f39.
Revert "Override document_root for dev"

This reverts commit ab6233686154d929a888f802a40cba528dc60c93.