« Previous Next »

Thread: Perl on IIS 7

Last post 06-19-2008 12:13 AM by Witchdoctor. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 02-16-2008, 1:32 PM

    • hoyty
    • Not Ranked
    • Joined on 02-16-2008, 6:24 PM
    • Posts 4

    Perl on IIS 7

    I have tried to read other posts on this issue and followed those instructions however I am still not working.  My end goal is to get ActivePerl working on W2K8/IIS7 for Movable Type.  My server is 64 bit but I am running the 32 bit version of Perl since it appears the 64 bit one isn't quite ready yet.  I have IIS with CGI installed.  After the Perl install I went into IIS Manager and did the following on the Default Web Site:

    Add Script Map
    *.cgi
    c:\Perl\bin\perl.exe "%s" %s
    CGI Script Map
    I clicked Yes to allow exception.

    *.pl
    c:\Perl\bin\perl.exe "%s" %s
    Perl Script Map
    I clicked Yes to allow exception.

    I get this now:

    Error Summary

    HTTP Error 404.3 - Not Found

    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

     

    Detailed Error Information
    Module StaticFileModule
    Notification ExecuteRequestHandler
    Handler StaticFile
    Error Code 0x80070032
    Requested URL https://localhost:443/MT/mt-check.cgi
    Physical Path C:\inetpub\wwwroot\MT\mt-check.cgi
    Logon Method Anonymous
    Logon User Anonymous

    It appears my handler isn't working properly on *.cgi.  Any ideas?  Thanks.

  • 02-16-2008, 1:48 PM In reply to

    • hoyty
    • Not Ranked
    • Joined on 02-16-2008, 6:24 PM
    • Posts 4

    Re: Perl on IIS 7

    Chalk this up to a newbie on IIS 7.  I didn't realize I was adding the handler mapping on the server level rather than the web site level.  I went back and redid the mappings at web site level and it seems to be working.  This brings up a follow-up question however, what is the point of the handler settings at the server level if they aren't inherited down to web site level?  Thanks.

  • 06-19-2008, 12:13 AM In reply to

    Re: Perl on IIS 7

    Hi there;

     I'm also a newbie to W2K8 and IIS7.  I'm also trying to get perl to work on my server.  I'd like to be able to log when a webpage is accessed.  I found a script that does this but I need to have perl running. 

     Can you give me a bit more detail about how to get this working.

    WD

Page 1 of 1 (3 items)
Microsoft Communities