added rootdir variable to vhost