Allow doc_root and ws_doc_root to be passed in as config options.