#!/bin/bash
. testsuite/functions.sh

PORT=12342
run_weborf -p $PORT --virtual localhost:$PORT=site1,127.0.0.1:$PORT=site2 -b site1

# ETag header is there
curl -vs http://localhost:$PORT/robots.txt | grep User-agent

curl -vs http://127.0.0.1:$PORT/site2.txt | grep site2
