|
Last change
on this file was 13775, checked in by rick, 9 years ago |
|
Avoid an extra redirect, page is served as index.cgi.
|
-
Property svn:executable
set to
*
|
|
File size:
368 bytes
|
| Rev | 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.