wxhead has asked for the wisdom of the Perl Monks concerning the following question:
I have strawberry perl installed on a windows 2003 server running IIS 6
I am tying to run a cgi script but it seems like it is trying to be downloaded to my browser. Note this script creates a web page with html.
when i try to run the script from IE I get
Internet explorer can not download test.pl from <servername> Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please tr +y again later.
This is a very simple script.
Here it is.
#!c:\strawberry\perl\bin\perl.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;
Can someone give me a hint?
Help!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: CGI SCRIPT
by davido (Cardinal) on Jun 18, 2012 at 15:46 UTC | |
Re: CGI SCRIPT
by thomas895 (Deacon) on Jun 18, 2012 at 15:47 UTC | |
Re: CGI SCRIPT
by ww (Archbishop) on Jun 18, 2012 at 15:54 UTC | |
Re: CGI SCRIPT
by zentara (Archbishop) on Jun 18, 2012 at 18:22 UTC | |
Re: CGI SCRIPT
by Anonymous Monk on Oct 08, 2012 at 21:19 UTC | |
by Anonymous Monk on Oct 09, 2012 at 02:51 UTC |
Back to
Seekers of Perl Wisdom