The following tutorial was written by fellow TTX user Mukulag and posted at his blog.
http://windowstechissues.mukulag.com
http://windowstechissues.mukulag.com/2008/06/how-to-run-cgi-pm-and-pl-perl-scripts.html
Republished here with his permission.
After struggling for hours I finally managed to run .cgi, .pm and .pl scripts in IIS. I needed this to test Trouble Ticket Express (ttx224) Helpdesk software available from
http://www.unitedwebcoders.comFirst you need to install Active perl.
second you need to setup the scripts virtual directory. It will not be available by default if you did not customize IIS installation. You will find it under IIS -> World Wide Web Service -> Scripts Virtual Directory.
Do not confuse the physical directory c:\Inetpub\scripts with the virtual directory that is visible in the Inetmgr. Although the virtual directory points to the same physical directory however internally IIS modifies/creates some pointers to make this setup work correctly. Also dont try to add a virtual directory scripts and point it to the physical directory as this will not help.
Once you have done that, Copy all the scripts in the c:\Inetpub\scripts folder.
Now open Inetmgr and register .pl, .pm and .cgi as extensions that would parsed using perl processor. To do so
1. Open inermgr and choose properties of the Default Website
2. Go to Home Directory tab and choose configuration
3. Click Add to add and application extension.
4. Fill in the details as shown in the following screenshot.
Do the same for all the three extensions, namely .pl, .pm and .cgi
5. Remember to fill in the details for each extension exactly the way it is shown above.
6. Restart the World Wide Web Publishing Service.
bingo you are all set to go.
http://windowstechissues.mukulag.com/2008/06/how-to-run-cgi-pm-and-pl-perl-scripts.htmlhttp://windowstechissues.mukulag.comAll images are hosted externally. If any do not show up, dump your browser cache and try re-loading this page.
All images are loading fine as of: 3/8/09