Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I run perl script on windows IIS?

Status
Not open for further replies.

Juni

Programmer
Mar 21, 2002
10
CA
Hi, everyone.

First of all, I'm sorry that I have almost same question as others who have problem with running perl script on windows. But I couldn't fix it yet.

Please, help...

This is my problem.

I have installed perl with msi file downloaded. I created simple script like this.

#!c:\Perl\bin\perl.exe -wT

print "Content-type:text/html\n\n";
print "This is the test file";

And I saved this file as test.pl and test.cgi in C:\Inetpub\Scripts 'cause I want to try both. And I typed url on the IE "localhost:\Scripts\test.pl".

But the browser diplay download window not displaying the page.

Can anyone help me, please????

Jun.
 

would be the correct syntax, but you probably have more issues to resolve before you get to that one.

Have a look at the FAQ section for faqs regarding CGI, and IIS

HTH
--Paul
 
I finally fixed problem.

I should have read the FAQ before I post the questions.

Thanks, Paul

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top