IIS Experts - Need help with installing Perl PLEASE

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
treebolt
User
User
Posts: 50
Joined: Thu Feb 21, 2008 4:38 pm
Location: Palm Harbor, FL

IIS Experts - Need help with installing Perl PLEASE

Post by treebolt »

installed ActivePerl-5.14.2.1402 on Windows Server 2003 SP2 running IIS 6 and Perl seems to be just fine I can run a simple hello world script through command prompt and it outputs fine. However I cannot get it working through web browser. I followed a couple of tutorials found here

http://support.microsoft.com/kb/245225
http://www.visualwin.com/Perl/
http://www.howtogeek.com/50500/how-to-i ... rver-2003/

but whenever I go to access a simple hello world program in my web browser I either get "The page cannot be found" error. I know the web server is working fine in that directory when I try to access an HTML page in the same spot it shows up fine.


here is the code I am trying to run in my browser by the way.

Code: Select all

#!C:\Perl\bin\perl.exe
use CGI qw(:standard);
print header();
print start_html();
print "test";
print end_html();
I also tried

Code: Select all

#!c:perlbinperl.exe

use strict;
use CGI;
my $test = new CGI;

print $test->header(“text/html”),$test->start_html(“Perl Test”);
print $test->h1(“Perl is working!”);
print $test->end_html;
Again, I have never worked with Perl before so I'm not sure if thats proper syntax.

Thanks for any help