Sadmachine has asked for the wisdom of the Perl Monks concerning the following question:

I'm having some problems getting Perl to run scripts via a browser.

I've installed ActivePerl-5.6.1.628-MSWin32-x86-multi-thread.msi on a NT server with IIS3 and it does run perl scripts from the DOS prompt.

The server meets all of the system requirement.

A recent version of InstMsi is installed

I've tried configuring IIS3 to run a perl script via the web browser. I've added the bit to the registry with the %s %s.

Have I missed anything? The browser is still trying to open the perl file rather than execute it.

Any further suggestions will be greatly appreciated

Replies are listed 'Best First'.
Re: More help installing Perl
by PsychoSpunk (Hermit) on Jul 31, 2001 at 19:56 UTC
    Have you set scripts to execute in the directory via the IIS management tool (MMC for IIS3, no?)? This sounds like you've followed all the right steps except setting that directory to allow scripts to be executed instead of read.

    Update: Btw, I don't think the %s %s is in the registry. It should be associated with the file extension via IIS (once again using the properties dialog of the directory via MMC. I think it's even on the same tab as the set directory to execute scripts dropdown).

    ALL HAIL BRAK!!!

      Thanks for the extra info. I'll give it a go and see if it works.

      I have been trying to run the scripts from the Inetpub directory which is supposed to be set to allow scripts to execute rather than read anyway.

      As for the %s %s I got the instructions for that from two different sources which said that I should use RegEdit and add the file association bit into a specific directory.