I have installed Microsofts IIS and ActivePerl on my 2000 machine. I know the IIS is working, because I can access a web page I saved in the directory. However, anytime I go to run a script (by typing in the URL http:\\localhost\Scripts\scriptname.pl) IE asks me if I wish to download the requested file, instead of running the script. The perl script I want to run is a simple test script with the following contents:
use strict;
use CGI ':standard';
print "Content-type:test/html \n\n";
print "Hello the script is working";
I don't have the shabang line in because I am just testing to see if the perl handler is working properly. Can anyone point out what I am doing wrong?
Thanks,
use strict;
use CGI ':standard';
print "Content-type:test/html \n\n";
print "Hello the script is working";
I don't have the shabang line in because I am just testing to see if the perl handler is working properly. Can anyone point out what I am doing wrong?
Thanks,