diff options
Diffstat (limited to 'files/common/www/cgi-bin/splash')
-rwxr-xr-x | files/common/www/cgi-bin/splash | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/files/common/www/cgi-bin/splash b/files/common/www/cgi-bin/splash new file mode 100755 index 0000000..ee907d6 --- /dev/null +++ b/files/common/www/cgi-bin/splash @@ -0,0 +1,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 |