summaryrefslogtreecommitdiffstats
path: root/www/do-logout.cgi
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-11-24 16:13:57 +0200
committerTimo Teräs <timo.teras@iki.fi>2010-11-24 16:13:57 +0200
commita0ed0e6bc7809e88ee1272fa9516dd7e3c7e8d2d (patch)
treeb7503d54f52793a9d9c8c931f5fab2089c9db016 /www/do-logout.cgi
parent301047f944320fccef17df3431ddd0bd5d1455a0 (diff)
downloadsquark-a0ed0e6bc7809e88ee1272fa9516dd7e3c7e8d2d.tar.bz2
squark-a0ed0e6bc7809e88ee1272fa9516dd7e3c7e8d2d.tar.xz
www: add a set of example pages for block info and captive portalv0.1
Relatively simple set of pages done in haserl. Fixes #448.
Diffstat (limited to 'www/do-logout.cgi')
-rwxr-xr-xwww/do-logout.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/do-logout.cgi b/www/do-logout.cgi
new file mode 100755
index 0000000..34a07e4
--- /dev/null
+++ b/www/do-logout.cgi
@@ -0,0 +1,6 @@
+#!/usr/bin/haserl
+HTTP/1.0 302 Found
+Location: login.cgi
+
+Moved.
+<? squark-auth-ip -i $REMOTE_ADDR -L ?>