Help Desk Software & Beyond
June 23, 2017, 03:08:08 AM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Running .cgi .pm and .pl in Windows IIS - Step-by-step Tutorial  (Read 27116 times)
Sparky
Moderator
Hero Member
*****

Karma: 85
Posts: 2,275


stop pushing all those buttons


View Profile
« on: May 27, 2008, 01:50:22 PM »

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.com

First 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.html

http://windowstechissues.mukulag.com


All 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
« Last Edit: March 08, 2009, 12:47:24 PM by Sparky » Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.016 seconds with 20 queries.