Changeset 13782 in hybrid


Ignore:
Timestamp:
Jan 23, 2017, 10:40:09 PM (8 years ago)
Author:
rick
Message:

Redirect using apache CGI Status header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/files/usr/local/www/portal/index.cgi

    r13780 r13782  
    2222  `dirname $0`/login/index.cgi
    2323else
    24   echo 'Location: http://welcome.wleiden.net/portal/portal.html'
    25   echo 'Content-Type: text/html'
    26   echo 'Cache-Control: no-cache, no-store, must-revalidate'
    27   echo 'Pragma: no-cache'
    28   echo 'Expires: 0'
    29   echo ''
     24  echo -e 'Status: 302 OK" \r'
     25  echo -e 'Location: http://welcome.wleiden.net/portal/portal.html\r'
     26  echo -e 'Content-Type: text/html\r'
     27  echo -e 'Cache-Control: no-cache, no-store, must-revalidate\r'
     28  echo -e 'Pragma: no-cache\r'
     29  echo -e 'Expires: 0\r'
     30  echo -e '\r'
    3031fi
Note: See TracChangeset for help on using the changeset viewer.