When trying to browse pages with .pl (Perl) extension on a VDS web site, i get an error on page (can happen with Awstat).
One of the most common reasons of this approach might be miss configured Application Mappings in the IIS Administration tool.
To add Application Mappings, open the IIS Administration tool:
1) open IIS, double click on the computer name ---> below at "Web Service Extensions" right click and properties on "Perl CGI Extension" --> click on "required files" tab and verify the path is valid and similar to the Primary vds path (see step 2).
2) In IIs, double click on the computer name, extend the "Web Sites" Manu, then right click and choose properties on the Primary VDS web site (S.D) select the "Home Directory" tab and click on the "configuration" button.
3) A list of known (configured) application mappings will appear.
4) Verify that the perl Mapping exist and make sure it direct to the same path as in "Web Service Extensions" (step 1), if not ----> click on Edit/Add button, select the appropriate executable and parameters
(C:\Perl\bin\perl.exe "%s" %s) and desired extension (.pl).