Configure Windows To Use .cgi For Perl Scripts
Question
How do I configure Windows to recognize .cgi files as Perl scripts?
Answer
- From the Start Menu, navigate to: Start > Control Panel > Administrative Tools > Internet Information Services
- In the IIS Administration console, use the left-side navigation to go to: Local Computer > Web Sites > Default Web Site.
- Right-click on "Default Web Site" and choose "Properties".
- Select the "Home Directory" tab, and then click "Configuration".
- Click the "Add" button.
- In the form, fill in these values for the fields displayed:
- Executable:
#C:\Perl\bin\perl.exe "%s" %s - Extension:
#.cgi - Verbs > Limit to:
#GET,HEAD,POST - [ ] Check that file exists (uncheck this box)
- Executable:
- Hit "OK"
Excerpted from the Six Apart article on Installing Movable Type on Windows.
Please note that these instructions are provided as general information only. Support staff is unable to provide detailed assistance with server configuration issues.


