[EMAIL PROTECTED] wrote:
>
> [EMAIL PROTECTED] wrote:
> >IN IIS 4.0, WinNT I use REBOL -cs
> >%s %s. The two %s are needed to
> >pass
> >arguments from the web server to the REBOL
> >script.
>
> CGI takes info from 'environment variables' or from 'standard input'. What are
>parameters used fore?
>
Well, I don't know. But it doesn't work without it. It is mentioned in
CGI HOWTO at http://www.rebol.com/howto.html#cgi-scripts.html
When I tried to use Perl with IIS4, the docs said the same, see Perl for
Win32 FAQ here:
http://www.activestate.com/ActivePerl/docs/Perl-Win32/perlwin32faq6.html
The FAQ says:
===========
9.To run Perl as a CGI application, type the full path to Perl.EXE
followed by %s %s. When a script is executed, the first %s will be
replaced by the full path to the script, and the second %s will be
replaced by the script parameters.
===========
Without %s %s the web server (IIS 4.0) writes:
=========
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return
are:
=========
> >What exactly is the error message returned by
> >the web server?
>
> Apache: Internal Server Error
> 24Link: 500 Server Error
>
I meant PWS error message, I don't use Apache or 24Link (yet).
> --
> Martin Ancher Holm
> Work <[EMAIL PROTECTED]>, Home <[EMAIL PROTECTED]>
> <http://wwww.dk>, Cell <[EMAIL PROTECTED]>
>
> ... Vis respekt for de ćldre: Lav hard-code i dine programmer.
--
Michal Kracik