add path validator
apply path validator
add config: server.document_root