[REBOL] Re: How to cgi redirect?
From: jurgens:akcorp at: 22-Oct-2002 15:46
Just send a location field in the HTTP header response where you would
normally send the "Content-type" information. Here is a REBOL CGI script
that should redirect to the REBOL Web site:
#!c:\rebol\rebolcmd.exe -cs
REBOL[]
print "Location: http://www.rebol.com/"
print ""
This has to be send as part of the header response before anything else
gets output or it will output to the Web page instead of being
interpreted as part of the HTTP header.
HTH,
Burt
Ed O'Connor wrote: