Link to home
Start Free TrialLog in
Avatar of aserapig
aserapig

asked on

IIS4.0, NT 4.0 Perl gone goofy on me...

When running a simple perl script fromt he command line, such as;

print "My first Perl script\n";
print "hello";
exit 0;

it works fine.

When running a sample test script found here that combines an HTML and PL file that has a submit form button, when hitting the submit button I recieve a prompt to open from location or download. If I open from location I get a breif flash of the script in a command shell flying by on it's way to nowhere.

<HTML>
<BODY>
<FORM method=post ACTION="test.pl">
<INPUT type=text size=10>
<INPUT type=submit Value="Submit form">
</FORM>
</BODY>
</HTML>


and

print "Content-type: text/html\n\n";
print "hello\n";

exit 0;


I have a very important survey script I need to get up and running.....PLEASE HELP!!!!
The same thing happens with the important script (too long to show here, it asks to be downloaded or executed and then flashes by without displaying anything.Is smething wrong with my Perl installation, the permissions, the file associations?
Avatar of b2pi
b2pi
Flag of United States of America image

Hmmm, taking a look at "The Idiot's Guide to Solving Perl CGI"...

( <href=http://www.perl.com/CPAN-local/doc/FAQs/cgi/idiots-guide.html>

could help here...



Where does the server expect to find CGI scripts?  Is your script
there?

Does the server expect that cgi scripts can be called .pl, or does it
insist on them being called .cgi?

How does the server know that the cgi script is a perl script (hint:
See the dos-level commands ftype and assoc)


Avatar of aserapig
aserapig

ASKER

Have looked there and at ftp.ou.edu/mirrors/CPAN/doc/FAQs/nt/Perl_for_Win32_FAQ_4.html

Still have the problem that it just flys by in a command screen instead of bringing up anything in a browser to view.

From the above FAQ direction, I found PerlIS.dll and added as an ISAPI filter, except it will not load in IIS, I have the down red arrow and a failed to load message...is this a clue? or simply a red herring?
Adjusted points to 40
ASKER CERTIFIED SOLUTION
Avatar of gre
gre

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial