Perl and NT: IIS
Posted on 1998-10-05
Has anyone had luck setting up Perl to work on NT with IIS?
I recently moved to Internet Information Server 4 on an NT Server 4.0 machine. I'm trying to set up Perl so it'll work the same way it did on my old server, Netscape Enterprise. I know it's possible for Perl to work right on NT, because Enterprise Server, which simply ran perl.exe when someone requested a .pl, never had any problems and never rejected scripts that contained certain syntax.
I downloaded Perl for NT from ActiveState and set it up. It uses a .dll instead of a .exe, which is fine except some scripts just don't work (for example, ones that use the "|| die" command). Very simple scripts are fine, but more complex ones almost never work--the server just returns an error message to the browser. I've tried directing the server to the same perl.exe I used with Enterprise, but in this case the browser just waits ("Host foo.bar.com contacted. Waiting for reply...") and eventually timeout.
Anyone know what I'm doing wrong?