Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

IIS and FastCGI/Scripting languages/Perl

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

This tutorial will teach you how to get IIS working with FastCGI, and Perl. We will be using FCGI::IIS. These steps should be followed in order. Further documentation on FCGI::IIS, can be found directly on CPAN. Install FCGI::IIS Strawberry Perl perl -MCPAN -e'install FCGI::IIS' ActiveState ppm install FCGI ppm install http://www.cosmicscripts.com/modules/perl/FCGI-IIS.ppd cosmicscript Additions to fcgiext.ini Add the following to the [Perl] stanza: Arguments="-MFCGI::IIS=test" QueueLength=999 MaxInstances=20 InstanceMaxRequests=500 Which should make the .ini file read something like: [Types] pl=Perl [Perl] ExePath=C:\strawberry\perl\bin\perl.exe Arguments="-MFCGI::IIS=test" QueueLength=999 MaxInstances=20 InstanceMaxRequests=500 Notice FCGI::IIS=test: this gets a test up and running. To develop or run production with FCGI::IIS, or after your test succeeds remove the FCGI::IIS. Further information can be found in FCGI::IIS docs. Arguments="-MFCGI::IIS" Restart website To restart a website: Start → Administrative Tools → IIS → Expand left panel to Websites → Right click website Stop → Right click website Start. From this point it should be easily to install Catalyst or whatever other perl framework you'd like. Footnotes Much of the information was sourced from "http://www.cosmicscripts.com/servers/fastcgi_perl.html FastCGI and Perl FastCGI with Perl on IIS 5.1, 6 CosmicScripts.com" cosmicscript http://cosmicscripts.com is a non-official ppm hosting site, hope it is still active.