[REBOL] Re: http 404 header
From: gchiu::compkarori::co::nz at: 3-Jan-2003 12:02
On Thu, 02 Jan 2003 23:26:10 +0100
Hallvard Ystad <[hallvard--ystad--helpinhand--com]> wrote:
>Oh, and here's a second question:
>When I try to redirect from a rebol cgi script (using
>http headers), I am allowed to write the Location:
>header, but not the first header, the "HTTP/1.1 200 OK"
>thing. Or "HTTP/1.1 302 Moved". My web server then
>reports an error. So I suspect a double header is written
I don't think you can do this as your cgi script is
executed by the ISP's webserver. To send out server
headers correctly, you need to run your own webserver.
Perhaps run a rebol cgi script to serve on a different
port ... and if your ISP will permit this.
--
Graham Chiu