Hi Lynn,
Your FORM ACTION="c:\inetpub\scripts\sl3.pl" doesn't look right; if
'scripts' is a root level (or virtual root) directory then then path would
be ="\scripts\s13.pl".
make that change andd see what happens.
regards
Joel
-----Original Message-----
From: Lynn Glessner [mailto:[EMAIL PROTECTED]]
Sent: 03 September 2001 06:15
To: Gunther Birznieks; yahoo; Begginers CGI
Subject: Re: active perl on IIS
I spoke too soon. I thought this was just a minor tweak, which it probably
is ;), but the tweak is not what I thought it was going to be ...
When I click the button to submit the form, instead of running the perl
script I get the "File Download" dialog. If I choose the "run the file from
this location" radio button - what I thought was going to be the solution -
all my STDOUT is in a DOS window, and my CGI param calls don't get anything
that I filled in on the form. At the end of my script I have some CGI to
display in the browser that it is done, but instead those lines show up as
in the DOS window. Like I had double-clicked the pl file.
If I type in the path to the sl3.pl file in my browser, it executes
correctly and displays those "I'm done" lines in my browser. I stared at the
activeperl directions for configuring IIS and don't see what I'm doing
wrong. .pl is associated at the top level down with the full path including
perl.exe followed by %s %s. And it works if I go straight there.
These html and pl files work fine with IE browser on NT and linux apache web
server at work, and I'm still using IE browser, so I know the problem is my
IIS configuration. Yes, in my "free time" I will look into running apache
instead of IIS.
Why do I get a file download dialog box?
My html file is like this:
<FORM ACTION="c:\inetpub\scripts\sl3.pl" METHOD="POST"
ENCTYPE="multipart/form-data">
[snipped]
<INPUT TYPE="SUBMIT" NAME="Button" VALUE="Send"><P> </FORM>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]