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
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"
The module has 5 different modes it can be run in.
This is a simple test routine, that displays a counter that increments by 1 each time the script is called as a FastCGI.
In this mode, CGI::Carp qw(fatalsToBrowser) is invoked before running the do method.
With this mode eval is used instead of the do operator. Slower run time, but allows you to trap errors.
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.
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.
FCGI http://www.cosmicscripts.com/servers/fastcgi.html#iis
Lyle Hopkins, leader of bristol.pm and bath.pm
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.
To install FCGI::IIS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FCGI::IIS
CPAN shell
perl -MCPAN -e shell install FCGI::IIS
For more information on module installation, please visit the detailed CPAN module installation guide.