Corrected a mistake in the vhost templates. Plus we now reload apache when changing a vhost insteat a restarting it.