Hi,
I tried setting the reg key, and guess what... it started working! 

However, I now run a form with a checkbox (named "mail" and value="on")
If this box is checked, then there's no problem, but if it's unchecked, I
get something like this in my script:

Invalid path: query/mail ....... etc... And no matter what I try (any-type,
unset) etc, I still get the same error. Now, can this be because of me not
using this stuff?:

        >either none? system/options/cgi/query-string [
        >         ""
        >         ][
        >         system/options/cgi/query-string
        >         ]


> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: den 20 januari 2000 15:11
> To:   [EMAIL PROTECTED]
> Subject:      [REBOL] Rebol CGIs on Personal Web Server (Win98)? Re:(2)
> 
> I havent tried this but you might want to setup the application mappings
> as
> specified in the How To's in your explorer file options. It would appear
> that the %s %s is very important not sure why but seen that  with other
> languages as well.  Let me know how this goes.  I will try it when I get
> the
> chance.  I will collect some of the information I get from the list and
> other on win32 platforms and put together some How To's for CGI on win32
> platforms.
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 20, 2000 6:00 AM
> Subject: [REBOL] Rebol CGIs on Personal Web Server (Win98)? Re:
> 
> 
> > 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\Scri
> pt
> > 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