Configure IIS with perl CGI

Guest Author
To configure ActivePerl to work with IIS 6 on Windows 2003:
1. Start the Internet Information Services (IIS) Manager from Window's Administrative Tools menu.
2. Select the desired web site, then select Web Service Extensions. Click Add New Web Service Extension.
3. Enter a descriptive Extension Name (such as "Perl CGI"), then enter the following string in the Required Files field:
C:\\Perl\\bin\\perl.exe "%s" %s
As necessary, modify the path to the Perl executable on the selected system. Check Set
Extension Status to Allowed, then click OK.
Somehow, my Windows 2003 has this extension already though it is disabled. All I need to do is to enable it by click on "Allow" button.
4. Expand the Web Sites directory in the IIS Manager and right-click Default Web Site. Select New | Virtual Directory.... Use the wizard to specify the location of your Perl CGI programs. On the Access Permissions page, ensure that Read, Run Scripts and Execute are enabled.
5. Right-click the new virtual directory and select Properties. On the Mappings tab of the Application Configuration page, ensure that the .pl or .cgi extension is mapped to the Perl interpreter specified above. (Enter the same string in the Executable Path field as shown in step 3.)
6. In order to run ASP scripts, ensure that Active Server Pages are "allowed". Under the Web Service Extensions directory, select Active Server Pages. Change the status from "Prohibited" to "Allowed".
7. Restart the IIS service.
8. Test your configuration as described in
Testing Your Web Server Configuration.

The above was 'copied' from

A Microsoft article
How To Add and Remove Web Service Extension Files in IIS 6.0 tells how to use iisext.vbs command line script, which is stored in the Sysvol\\system32\\ (default Windows\\System32) directory.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.