NAME

FCGI::IIS - FCGI wrapper for MS IIS FastCGI

SYNOPSIS

perl -MFCGI::IIS=test
perl -MFCGI::IIS=carp
perl -MFCGI::IIS=eval
perl -MFCGI::IIS=evalhead
perl -MFCGI::IIS=do

ABSTRACT

This module provides easy access to Microsoft's FastCGI implementation for IIS 5.1, 6 & 7. 
Allowing you to easily run your perl scripts as FastCGI. Module usage is described below. 
If you would details of how to implement this with your IIS visit 
http://www.cosmicscripts.com/servers/fastcgi.html#iis
ActivePerl ppm is available from:-
http://www.cosmicscripts.com/modules
from a windows command prompt type:-
"ppm install http://www.cosmicscripts.com/modules/perl/FCGI-IIS.ppd"

DESCRIPTION

The module has 5 different modes it can be run in.

perl -MFCGI::IIS=test

This is a simple test routine, that displays a counter that increments by 1 each time the script is called as a FastCGI.

perl -MFCGI::IIS=carp

In this mode, CGI::Carp qw(fatalsToBrowser) is invoked before running the do method.

perl -MFCGI::IIS=eval

With this mode eval is used instead of the do operator. Slower run time, but allows you to trap errors.

perl -MFCGI::IIS=evalhead

With this mode eval is used instead of the do operator, also the content-type text/html header is returned first. Allowing you to trap wrong header errors.

perl -MFCGI::IIS=do

This is the default mode, and will be called if no arguments are given, i.e. perl -MFCGI::IIS. The calling script is loaded into the FastCGI using the do operator.

SEE ALSO

FCGI http://www.cosmicscripts.com/servers/fastcgi.html#iis

AUTHOR

Lyle Hopkins, leader of bristol.pm and bath.pm

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Lyle Hopkins

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.