Configure IIS for Perl
From GenX 2000
Contents |
[edit] Article Attributes
- Title: Configuring IIS for Perl
- Summary: Instructions on how to configure the PLX extension for IIS under Windows 2000
- Author: Ben Wiechel
[edit] Introduction
Configuration for Microsoft's Internet Information Server (IIS) happens automatically if you do not uncheck the boxes during your installation of ActivePerl. ActivePerl should be installed after IIS is installed, or it will not make the IIS options available for installation. If you install in the wrong order, or the installation fails to configure IIS properly, the following instructions should help.
[edit] Configuring .PLX Extensions
- Open Internet Information Services under Administrative Tools
- Right-click on the web site you wish to modify and select Properties
- Click on the Home Directory tab
- Under Application Settings at the bottom, click on the Configuration button
- Click on the Add button
- For the Executable, enter [YOUR PERL PATH]\bin\perlis.dll (in most cases, C:\Perl\bin\perlis.dll)
- For the Extension, enter .plx
- Click on the radio button beside Limit To: and enter GET,HEAD,POST
- Put a check mark in Script Engine
- Put a check mark in Check that file exists
- Click OK
- Restart your web service
[edit] Configuring .CGI Extensions
- Open Internet Information Services under Administrative Tools
- Right-click on the web site you wish to modify and select Properties
- Click on the Home Directory tab
- Under Application Settings at the bottom, click on the Configuration button
- Click on the Add button
- For the Executable, enter [YOUR PERL PATH]\bin\perlis.dll (in most cases, C:\Perl\bin\perlis.dll)
- For the Extension, enter .plx
- Click on the radio button beside Limit To: and enter GET,HEAD,POST
- Put a check mark in Script Engine
- Put a check mark in Check that file exists
- Click OK
- Restart your web service

