Last change
on this file since 13740 was 13740, checked in by rick, 8 years ago |
No caching of this portal redirect _ever_.
|
-
Property svn:executable
set to
*
|
File size:
367 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 "Content-Type: text/html\r"
|
---|
11 | echo -e "Cache-Control: no-cache, no-store, must-revalidate\r"
|
---|
12 | echo -e "Pragma: no-cache\r"
|
---|
13 | echo -e "Expires: 0\r"
|
---|
14 | echo -e "\r"
|
---|
15 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.