Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: server redirect rebol in CGI mode

From: kenlo:myrealbox at: 17-Oct-2001 10:16

2001/10/6 PM 09:15:59, Will <[warp--reboot--ch]> wrote:
>when I do a server redirect in a cgi, >everything goes fine but the process that sent >the redirect doesn't quit.
This code works for for me. No hangover. rebol[] loc: last parse system/options/cgi/query-string "=" replace/all loc "\" "/" print "Content-type: text/html^j^j" print "<head>" newloc: join "<META HTTP-EQUIV=^"Refresh^" Content= ^"0; URL=http://localhost" loc newloc: join newloc "^">" print newloc print "</head>"