Configure ActivePerl under IIS to make IIS support CGI programs
1. Add Internet Information Services (IIS) components under Windows2000.
Second, install the Perl interpreter. It is recommended to be installed in a C: / Perl directory because each CGI program file first row must declare the path (#! / Usr / bin / perl) of the CGI interpretation program.
Third, running regedit (need to restart your computer to take effect)
Found: hkey_local_machine / system / currentcontrlset / service / w3svc / parameters / scriptmap / directory
Add the following key values:
Key name: ". CGI" key value: "c: /perl/bin/perl.exe% s% s"
Key name: ". Pl" key value: "c: /perl/bin/perl.exe% s% s"
4. Open "Internet Service Manager", select "Default Web Site" or other sites to open its Properties window. Under the "Web Site" page, change the "IP address": "All unallocated" "The IP address of your machine, for example: 202.117.131.6)", "TCP port" is "80". Next, select the "Main Directory" page, click the Configuration button under Application Settings, click the Add button under the new window; enter "C: / Perl / bin / Perl.exe
% s
% S ", enter" .cgi "in the Extended Name, put" scripting engine "to hook, click" OK "(or add other, such as" .pl ", etc.). Next, select" ISAPI Filter " Page, click the "Add" button; enter "CGI" in Filter Name, enter "C: /perl/bin/perlis.dll" in the Executable File, click "OK".
V. Newly built virtual directory CGI-BIN, pointing to CGI-BIN.
6. Turn off all windows, restart the system, and open the browser for testing.