I was going off the vhost_location_directory.erb implementation so all fixed now.