PiEquals3 has asked for the wisdom of the Perl Monks concerning the following question:
Behold the very early stages of an aspiring Webmaster...
-- I'm attempting to modify a website under Microsoft's Internet Information Server 4.0.
Specifically, I'm trying to set things up so that when a particular perl script is requested, what is returned is not the script itself, but the output of that script, instead. Basic CGI, right?
I thought I had it done, but when I type the address into my browser, this error message is returned:
"CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process."
The timeout is set to 90 seconds (by right-clicking the website in IIS and going to Properties, then the "Web Site" tab.) This script simply outputs the HTML to produce a page that says "Hello World." It does NOT take more than 90 seconds to run.
I have associated the .pl extension with the full pathname to the Perl executable. (By right-clicking the subdirectory containing the script, clicking the radio button giving the directory script permission, and under the "Configuration" button, adding the .pl:<path>/Perl.exe application mapping.) The necessary libraries (Perl56.dll) are in the same directory as the executable. The script runs fine from a DOS prompt. Hell, it LOOKS like valid HTML.. Here is the output:
I am distressingly unfamiliar with IIS, and I can't imagine what else it wants.HTTP/1.0 200 OK Content-Type: text/html <HTML> <HEAD> <TITLE>Hello World</TITLE> </HEAD> <BODY> <H4>Hello World</H4> <P> <P><H5>Have a nice day</H5> </BODY> </HTML>
Is there something obvious I'm overlooking? Am I leaving anything out? (Just ask -- _please_ ask.)
Again, I apologize that this isn't a question about coding in Perl itself, but it is about getting Perl to run.. and a solution would also go a long way toward causing another company to run Perl on its server, which is good, right?
--
Can an atheist be insured against acts of God?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: I can't get Perl to run on MS-IIS! Help!
by ryddler (Monk) on Jan 23, 2001 at 04:01 UTC | |
Re: I can't get Perl to run on MS-IIS! Help!
by Fastolfe (Vicar) on Jan 23, 2001 at 05:06 UTC | |
Re: I can't get Perl to run on MS-IIS! Help!
by Lexicon (Chaplain) on Jan 23, 2001 at 07:14 UTC | |
by tilly (Archbishop) on Jan 23, 2001 at 07:19 UTC | |
Re: I can't get Perl to run on MS-IIS! Help!
by BigJoe (Curate) on Jan 23, 2001 at 18:34 UTC |