Stefan Falk wrote:
> I've been trying to get Rebol CGI scripts running on a Microsoft Personal
Web Server, but it just won't work. It just pops up a window (like it's
downloading) for about 1 sec, then it closes it and nothing else happens. I
tried to look in the Help files and I've come to the conclusion that I need
to "Set Application Mappings", however, this option seems to be available
only to IIS servers. Anyone got any idea of how to make it work with PWS?

Actually, I just got REBOL working on my own MS Personal Web Server, about
an hour or two or three ago. It works well, and I like it.

What do you need to do?

There's this from Allen K:
<Quote>
Copied from a post by Ira from June 1999). Following these directions is how
I got REBOL working on PWS..

Add a new string value to:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Svc\Parameters\Script
Map  with name of .r  (this is the suffix for the rebol script) and data
value of

c:\rebol\rebol.exe -cs %s

(obviously substitute the appropriate path to your executable).

Your rebol cgi scripts should reside in your PWS Scripts directory.
</Quote>

I changed:
        c:\rebol\rebol.exe -cs %s
    to suit my directory:
        C:\PROGRA~1\REBOL\REBOL.EXE -cs %s %s
    I also added another "%s", due to my own FUD.

Then I _restarted_ my computer, after I found that it didn't seem to work. I
put REBOL cgi script/s here:
        C:\Inetpub\scripts

In my copies of REBOL cgi scripts, for this:
        system/options/cgi/query-string
    I substituted this:
        either none? system/options/cgi/query-string [
        ""
        ][
        system/options/cgi/query-string
        ]

Otherwise 'decode-cgi complained about invalid strings.

In Personal Web Manager, I made sure that PWS was on and that the /scripts
directory (from the advanced tab), had all permissions on.

Then I clicked on my home page and added to the existing url:
        scripts/tictac.r
    and it all went.

I hope that helps!

If not, I'll be awake sometime later tomorrow/today/yesterday.

It's probably in the wrong order, but do it all and restart, and it should
go!

Andrew Martin
You feel sleepy, very sleepy...
ICQ: 26227169
[EMAIL PROTECTED]
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to