[REBOL] Re: Antwort: Rebol with Xitami?
From: chris:starforge:demon at: 16-Nov-2000 14:55
Mat Bettinson wrote:
> Is there any easy way to see script errors if your script blows out
> when being used as a CGI? Currently you just see nothing which made
> today's debugging most laborious.
If you put a print {Content-Type: text/html^/^/} on the line following
the Rebol header (before you do anything else) it should display any
errors in your web browser. If you are having problems getting that to
work, try adding <HTML><BODY> after the ^/^/, that may help on some
brwosers. You'll probably need to check the page source if your browser
is fairly strict about page displaying.
Chris
--
New sig in the works
Explorer2260 Designer and Coder
http://www.starforge.co.uk