« Previous Next »

Thread: How to configure IIS 5.1 to test FastCGI (on specific case)

Last post 06-09-2009 1:54 PM by tresh. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 06-09-2009, 10:26 AM

    • tresh
    • Not Ranked
    • Joined on 11-24-2004, 5:47 AM
    • Posts 5

    How to configure IIS 5.1 to test FastCGI (on specific case)

     Hello ...
    I´m using a CGI (mapserver.exe) on IIS 5.1 ... That is working fine...

    Now that CGI has support to FastCGI... I installed the 1.5 plugin to IIS 5.1 ...

    Now, I´d like to test that ... How can I configure my IIS 5.1 to use fastCGI to that mapserver.exe CGI?

     

    Thanks

  • 06-09-2009, 10:56 AM In reply to

    Re: How to configure IIS 5.1 to test FastCGI (on specific case)

  • 06-09-2009, 11:03 AM In reply to

    • tresh
    • Not Ranked
    • Joined on 11-24-2004, 5:47 AM
    • Posts 5

    Re: How to configure IIS 5.1 to test FastCGI (on specific case)

     Thanks Paul...

    But It is not a PHP application...

    I´m executing Mapserver CGI directly ... ( http://localhost/cgi-bin/mapserv.exe?map=C:/test.map )

     I tried to add a mapping: .exe => fcgiext.dll, but got a error:

    • Could not find entry for "exe" on site 1 in [Types] section.
    • Error Number: 1413 (0x80070585).

     

  • 06-09-2009, 11:11 AM In reply to

    Re: How to configure IIS 5.1 to test FastCGI (on specific case)

    tresh:

     Thanks Paul...

    But It is not a PHP application...

     

    I know. But if you read that article you should be able to substitute PHP for your mapserv.exe and get it to work.

    Regards,

    Paul Lynch | www.iisadmin.co.uk
  • 06-09-2009, 12:02 PM In reply to

    • tresh
    • Not Ranked
    • Joined on 11-24-2004, 5:47 AM
    • Posts 5

    Re: How to configure IIS 5.1 to test FastCGI (on specific case)

     Paul, I created a mapping

    Executable : C:\WINDOWS\system32\inetsrv\fcgiext.dll
    Extension : .exe

    And got that error: 

    FastCGI Error

    The FastCGI Handler was unable to process the request.

    Error Details:

    • Could not find entry for "exe" on site 1 in [Types] section.
    • Error Number: 1413 (0x80070585).

     

     

     

  • 06-09-2009, 1:21 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: How to configure IIS 5.1 to test FastCGI (on specific case)

    cgi is a different protocol than fastcgi - a cgi executable cannot just be used with fastcgi - php.exe implements both cgi and fastcgi protocol in the same executable so it can be used either way.  You will have to implement fastcgi protocol in your exe if you want to use it with fastcgi.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 06-09-2009, 1:23 PM In reply to

    • tresh
    • Not Ranked
    • Joined on 11-24-2004, 5:47 AM
    • Posts 5

    Re: How to configure IIS 5.1 to test FastCGI (on specific case)

     Yes, but mapserver.exe implements fastcgi ...


  • 06-09-2009, 1:36 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: How to configure IIS 5.1 to test FastCGI (on specific case)

    Looks like you have not added the relevant information to fcgiext.ini as per the article Paul linked.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 06-09-2009, 1:54 PM In reply to

    • tresh
    • Not Ranked
    • Joined on 11-24-2004, 5:47 AM
    • Posts 5

    Re: How to configure IIS 5.1 to test FastCGI (on specific case)

     That is it!

    Worked fine now!

     

    Thanks all!

Page 1 of 1 (9 items)
Microsoft Communities