Hi All,
  After my "Brown trousers" post I've been looking into FastCGI a lot. Seeing that it works with lots of different servers and not just apache was very attractive (sorry mod_perl). Also one of the big things was seeing that Microsoft (as much as I dislike em) have embraced FastCGI and released their own library for IIS 5.1 and IIS6. Further more IIS7 on Windows 2008 (I've been testing RC0) comes with their FastCGI library as standard. Wicked :)

Just one drawback, Microsoft has been working with Zend (yes the PHP guys) to release this FastCGI library, and they tell you exactly how it can work with PHP. They go on to say it'll work with other languages... but they don't really know how. Bummer. Looking through the forums I saw a guy "Andrew Sears" trying to get it working with Ruby on Rails, he also gave me a great deal of help, putting me on the right track when I posted about getting it working with Perl. The only other post about Perl and their FastCGI was a guy complaining that he wanted a guide...

So me decided to get it working miself...

Now I've released FCGI::IIS on CPAN, 3rd revision so far.

I've got it working on Windows 2003, and Windows 2008. Vista IIS7 is pending an update from Microsoft for me to be able to try it out.

It's working (mostly) for perl scripts that want to run a bit faster on IIS using FastCGI (no FastCGI code needed in the actual scripts, so this should work with almost any windows compatible perl script) I've not put together a guide for running your Perl FastCGI scripts in their own application pool... yet...

Either way, I'm quite chuffed with it. Looking at the code of the module, it looks like hardly anything, but figuring it all out and testing it has taken ages.

I'm interested in any feedback...


Lyle

In reply to FastCGi on IIS... The tale of Microsoft and my new Perl Module... by cosmicperl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.