#!/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) #targeturl=$(echo $QUERY_STRING | sed -f /etc/urlencode.sed) targeturl=`echo $QUERY_STRING` sed "s/targeturl/"$targeturl"/g" /www/splash.html