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

[REBOL] Re: embed rebol in html

From: jason:cunliffe:verizon at: 21-Aug-2002 18:47

Magic! is for Apache, though presumably one could use some other server. The 2 crucial lines suggested to add to Apache's config are: AddHandler magic rhtml Action magic /cgi-bin/magic.cgi This tells Apache to run a program 'magic' whenever its finds a page whose suffix is .rhtml Then it defines the path for the REBOL script, which happens to be named 'magic.cgi'. The first line of that script must point to the server's REBOL installation. On Windows this might be #!c:/rebol/rebol -cs I know of no reason why Win2k should present any problem. I'd welcome to learn what the equivalent instructions are for erebol and with MS IIS ./Jason