summaryrefslogtreecommitdiff
path: root/files/www/cgi-bin/splash
blob: ee907d66cc62b5c2735a46b5a4c1532ca622e460 (plain)
1
2
3
4
5
6
7
8
#!/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 
contact: Jan Huwald // Impressum