« Previous Next »

Not Answered Thread: IIS7 w/ Perl for Movable Type 4.25

Last post 11-03-2009 5:26 PM by ragrone. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 03-29-2009, 5:52 PM

    IIS7 w/ Perl for Movable Type 4.25

    I'm having a heck of a time getting Movable Type to continue to work properly. I have it all set up working, then all the sudden, I start getting 502 errors; like Perl doesn't like IIS or something?

    I'm not exactly that great with IIS or Perl at this point, but I can manage to get whatever information you may need to help. I provided the error I get from the localhost IE window below.

    Thanks for any help someone can provide.

    Regards,
    Damon

    ___________________________________________________________________________ 

    Abbreviated Install steps:

    - Downloaded Fresh MT-4.25-en files
    - Created new site folder C:\inetpub\blogsite\
    - Copied MT files in to .\mt directory
    - (IIS 7) Created new Site (blog.domain.com)
    - (IIS 7) In "Handler Mappings," Created .pl & .cgi Script Maps to perl.exe "%s" %s (Make sure to add exception for ISAPI)
    - (IIS 7) Create virtual directory for /mt folder (Point /mt to physical folder location (/mt maps to C:\inetpub\blogsite\mt\)
    - (IIS 7) Add permissions for IUSR account with proper permissions (PERMIT: read & execute, List folder content, read, write)
    - (MYSQL) In "Catalog," create new Database Schemata (movabletype)
    - (MYSQL) In "User Administration," give mt_user privileges to the "movabletype" Database Schemata (SELECT, INSERT, UPDATE, DELETE, CREATE, INDEX, ALTER, CREATE_TMP_TABLE)
    - (IE7) Navigate to url - "http://blog.domain.com/mt/"
    - (MT) Go through MT wizard
    - (MT) Site was created

    Error Summary

    HTTP Error 502.2 - Bad Gateway

    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are "".

     

    Detailed Error Information
    Module CgiModule
    Notification ExecuteRequestHandler
    Handler CGI Script Map
    Error Code 0xc00000fd
    Requested URL http://blog.domain.com:80/mt/mt.cgi
    Physical Path C:\inetpub\blog.domain.com\mt\mt.cgi
    Logon Method Anonymous
    Logon User Anonymous
    Failed Request Tracing Log Directory C:\inetpub
    Most likely causes:
    • The CGI process was shut down or terminated unexpectedly before it finished processing the request.
    • The CGI process has a flaw and does not return a complete set of HTTP headers.

    Things you can try:

    • Check the event logs on the system to see whether the CGI process is shutting down unexpectedly.
    • Troubleshoot the CGI application to determine why it is not sending a complete set of HTTP headers.
  • 04-28-2009, 1:50 AM In reply to

    • mailant
    • Top 150 Contributor
    • Joined on 09-21-2004, 2:58 PM
    • Posts 49

    Re: IIS7 w/ Perl for Movable Type 4.25

    Hi, there: Wade wrote a blog post on getting Perl to work with IIS7 if you want to check it out:

     http://blogs.iis.net/wadeh/archive/2009/04/13/running-perl-on-iis-7.aspx

     

    Thanks,

    Mai-lan

    Mai-lan Tomsen Bukovec
    Product Unit Manager
    IIS
  • 11-03-2009, 5:26 PM In reply to

    • ragrone
    • Not Ranked
    • Joined on 07-29-2009, 1:10 PM
    • Posts 3

    Re: IIS7 w/ Perl for Movable Type 4.25

    Okay what am I missing here --

    I have these instructions and of course the moveable type web site is not up to date

  • Executable: C:\Perl\bin\perl.exe "%s" %s
  • Extension:.cgi
  • Verbs Limit to: GET,HEAD,POST
  • Check that file exists: (uncheck this box)
  • I have mapped up *.pl to ISAPI using C:\Perl\bin\PerlEx30.dll

    And I create the same mapping for *.pl as one thread lead me to believe

    Help!!

Page 1 of 1 (3 items)
Microsoft Communities