Please forgive me for the following probably off-topic post. Truth be told, I have grown rather desperate.

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:

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>
I am distressingly unfamiliar with IIS, and I can't imagine what else it wants.

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?


In reply to I can't get Perl to run on MS-IIS! Help! by PiEquals3

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.