Last change
on this file since 13374 was 13056, checked in by rick, 10 years ago |
Very simple and fast captive portal 'framework' using a few shell scripts replacing the slow python scripts
|
-
Property svn:executable
set to
*
|
File size:
216 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | # Only purpose is to send somebody to the Captive Portal
|
---|
4 | #
|
---|
5 | URL=${URL:-http://welcome.wleiden.net/portal}
|
---|
6 |
|
---|
7 | # Send information to client
|
---|
8 | echo -e "HTTP/1.1 302 OK\r"
|
---|
9 | echo -e "Location: $URL\r"
|
---|
10 | echo -e "\r"
|
---|
11 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.