fix rootdir variable to vhost