test #middleware_vhost