summaryrefslogtreecommitdiff
path: root/files/www/cgi-bin/splash
diff options
context:
space:
mode:
authorDarkeye <postfach@martinmichel.info>2011-03-24 10:58:44 (GMT)
committerDarkeye <postfach@martinmichel.info>2011-03-24 10:58:44 (GMT)
commit0db0209b9dbc88b19cb2dbe936d88a178f694376 (patch)
treec415638014566aab29302dec72fb34b659e730dd /files/www/cgi-bin/splash
parent0760157be006bbf079f32246eb396e3b6b9ae18e (diff)
Splash v2
Diffstat (limited to 'files/www/cgi-bin/splash')
-rwxr-xr-xfiles/www/cgi-bin/splash6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/www/cgi-bin/splash b/files/www/cgi-bin/splash
new file mode 100755
index 0000000..2212eba
--- /dev/null
+++ b/files/www/cgi-bin/splash
@@ -0,0 +1,6 @@
+#!/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 | sed -f /etc/urlencode.sed)
+sed "s/targeturl/"$targeturl"/g" /www/splash.html
contact: Jan Huwald // Impressum