Added the ability to have a different doc root.