Thank you 8) I wanted a server redirect (before sending content-type:...)
your code works, but doesn't resolve the problem. must be related to a rebol platform bug on OSX.. something to do with the double process in cgi mode.. hope RT will fix that as OSX 10.1 is a real nice companion. again, thank you and have a nice day Will [EMAIL PROTECTED] On 17.10.2001 4:16, Kenneth LO <[EMAIL PROTECTED]> wrote: > 2001/10/6 PM 09:15:59, Will <[EMAIL PROTECTED]> 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>" -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
