« Previous Next »

Thread: FastCGI Perl

Last post 08-20-2008 4:11 PM by JanReilink. 19 replies.

Average Rating Rate It (5)

RSS

Page 2 of 2 (20 items) < Previous 1 2

Sort Posts:

  • 10-12-2007, 8:14 AM In reply to

    Re: FastCGI Perl

    Hi,

    is there any guide to configure FCGI/Perl,I dont get it...

     

     

     

  • 10-19-2007, 8:25 AM In reply to

    Re: FastCGI Perl

    Hi All,

      I've now written a guide for you people. You can see it in my post at:-

    http://forums.iis.net/p/1146580/1858009.aspx#1858009

     

    Lyle
     

  • 08-06-2008, 1:20 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 7:38 PM
    • Redmond, WA
    • Posts 661

    Re: FastCGI Perl

    Has anyone succeeded with setting up Perl on IIS with FastCGI by following this guide? I have followed this guide but keep getting this error message when I make a request to any perl script:

    Error! Can't locate object method "FILENO" via package "FCGI::Stream" at C:/Perl/lib/CGI.pm line 794. Compilation failed in require at C:/Perl/lib/CGI/Fast.pm line 18. BEGIN failed--compilation aborted at C:/Perl/lib/CGI/Fast.pm line 18. Compilation failed in require at (eval 3) line 3. BEGIN failed--compilation aborted at (eval 3) line 3.

    http://ruslany.net
  • 08-07-2008, 1:05 PM In reply to

    Re: FastCGI Perl

    I've been stuck on a huge software project that has taken up all my time for the last 6 months. Soon I'll have chance to get back onto writing guides for Perl scripts using FastCGI on IIS.

     

    The wrapper module I made currently only works for simple scripts.

    Perl scripts can use FastCGI on IIS like they would on Apache but need to be coded specifically to do so.

    Until my wrapper module (or someone elses) is more complete there will be no direct drop in for Perl IIS FastCGI like there is for PHP. PHP has been specifically designed to work in FastCGI without any changes from normal CGI.

    However this does mean that Perl scripts specifically coded to utilize the FastCGI system will be more efficient IMO.
     

     

    Lyle


     

  • 08-20-2008, 4:11 PM In reply to

    • JanReilink
    • Not Ranked
    • Joined on 02-23-2007, 8:02 AM
    • Netherlands, the
    • Posts 7

    Re: FastCGI Perl

    My apologies for replying to a very old thread, but I haven't found a similar (newer) thread, perhaps only http://forums.iis.net/t/1146580.aspx for IIS 7.

    If possible, we'd like to run perl.exe (ActiveState) through the FastCGI ISAPI. We are experiencing major problems with HTTP Content-type headers being sent twice when using the ActiveState Perl ISAPI (perlis.dll, both 5.8 and 5.10) and after a very thorough bug report, in January 2007, ActiveState still hasn't fixed the issue, if it's theirs to fix.

    http://bugs.activestate.com/show_bug.cgi?id=67594

    In our setup, we run application pools under the IUSR identity, which means perl.exe may not be started by the IUSR. But we have to map the .pl extension to perl.exe for Perl scripts like AWStats. Unfortunately http://www.cosmicscripts.com/servers/fastcgi_perl.html is only helpful if (when) you code your Perl scripts accordingly (using the FCGI module).

    Does anyone have an idea?

Page 2 of 2 (20 items) < Previous 1 2
Microsoft Communities