We will be adding this info to the CGI How-to soon:
Please let me know if you find you had to do something else to get it
to work, what that was, and why.
Here's the basic Win**, PWS/IIS setup info... thanks to the folks
working on PHP who took the time to figure this all out. :)
Windows NT and IIS 4:
1. open Internat Service Manager (MMC) and choose the website or
starting directory of an application
2. Open the directories property sheet (right click -> Properties)
and choose the Home Directory, Virtual Directory, or Directory tab
3. Click Configuration and choose the App Mappings tab
4. Click Add and i nthe Executable box type the path to REBOL.exe
like c:\REBOL\rebol.exe %s %s (the two %s are important and must be
there)
5. In the Extension box, type the extension you want associated with
REBOL like .r Repeat the last two steps for each extension you want.
6. Set the security (done in Internet Service Manager)
7. If you use the NTFS filesystem, add execute rights for I_USR_ to
the directory that has the REBOL executable.
Done.
------------------------------------------------------------
Windows 95/98/NT & PWS/IIS 3:
1. Run Regedit
2. Find HKEY_LOCAL_MACHINE /System /CurrentControlSet /Services /W3Svc
/Parameters /ScriptMap
3. Menu: Edit -> New -> String Value
4. Type the extension you want to use for your REBOL scripts: .r
5. Double click the new string value and select the path to REBOL.exe
like this: c:\REBOL\rebol.exe %s %s
The two %s are important and must be there.
6. Repeat for any other extensions you want.
7. find HKEY_CLASSES_ROOT
8. Menu: Edit -> New -> Key
9. Name the extension from the earlier step
10. Highlight the new key and in the right pane double click the
"default value" and enter rebolscript
11. Repeat last step for each extension created earlier
12. Create another New -> Key under HKEY_CLASSES_ROOT and call it
rebolscript
13. Highlight the new key and i nthe right pane double click the
"default value" and enter "REBOL script"
14. Right click on the rebolscript key and select New -> Key and call
it Shell
15. Right click on Shell and select New -> Key and call it open
16. Right click on open and and select New -> Key and call it command
17. Highlight the new key command and i nthe right pane double click
the "default value" and enter the path to REBOL.exe like
c:\REBOL\rebol.exe -cs %1 (the %1 (numeral one, not L) is important
and required)
18. Exit Regedit
Hope it all works and you never have to do this again. ;)
Sterling