#!/bin/sh echo -en "Status: 200 OK\r\n" echo -en "Content-Type: text/html\r\n" echo -en "\r\n" targeturl="$(echo "$QUERY_STRING" | tr -d '/')" sed "s/targeturl/$targeturl/g" splash.html