Catalyst+IIS 7.0 on MS Windows 2008/Vista
This article describes deployment of Catalyst application on a Microsoft Windows 2008 or Vista + IIS 7.0 (Internet Information Service).
VERY IMPORTANT: you need at least Catalyst::Runtime 5.80005 to run Catalyst applications as FastCGI on Windows 2008.
First you need Perl + Catalyst framework
See Catalyst+Apache+FastCGI on MS Windows
Let us assume we have our perl installed in c:\strawberry\.
Install your Catalyst application
See Catalyst+Apache+FastCGI on MS Windows
Let us assume we have our application in c:\inetpub\WebApp\.
Install IIS server role with FastCGI support
On Windows 2008 installing IIS means adding appropriate server role. To do this go to Control Panel > Administrative Tools > Server Manager:
It is very important to select CGI Role Service to install (this includes also FastCGI support):
After installation you should see something like this - "Web Server (IIS)" is important for us:
Now go to Control Panel > Administrative Tools > Internet Information Services (IIS) Manager and choose Add Web Site like this:
Fill in appropriate site name, document root and IP+port:
Click on our newly created site in left column and then on Handler Mappings icon:
Click on Add module mapping in right column:
Fill required info like in the following example.
Important: executable is set to
c:\strawberry\perl\bin\perl.exe|c:\inetpub\WebApp\script\webapp_fastcgi.pl -e
In the next dialogue confirm YES:
Now you can see the new handler "CatFastCGI" in the list like this:
Click on our "My Catalyst App" site in left column and then on Restart:
Test your application
At this point your Catalyst application should be available at http://localhost:4000.
Showing changes from previous revision. Removed | Added

