source: hybrid/branches/releng-9.0/nanobsd/files/usr/local/bin/http302@ 11543

Last change on this file since 11543 was 11543, checked in by rick, 12 years ago

Make the concentrator OpenVPN work. Please do mind that it potentially breaks
the code for external interfaces which also have an internal link on it (like
the watertoren setup) and no concentrator setup.

  • Property svn:executable set to *
File size: 211 bytes
Line 
1#!/bin/sh
2#
3# Only purpose is to send somebody to the Captive Portal
4#
5URL=${URL:-http://172.31.255.1/wlportal}
6
7# Send information to client
8echo -e "HTTP/1.1 302 OK\r"
9echo -e "Location: $URL\r"
10echo -e "\r"
11
Note: See TracBrowser for help on using the repository browser.