WebServer Configuration

Installation and configuration of PerlEx requires that you have administrator privileges on the computer that is hosting the target web server.

Microsoft Internet Information Server 5

Script Mapping on IIS5

During installation, you had the option to add the .plex and .aspl file extensions as script mappings. If you did not do so, or if you wish to add additional mappings, follow the instructions below.

To configure script mappings, select Internet Services Manager from the Administrative Tools menu in the Windows Control Panel.

  1. In the Tree panel on the left, right-click the web site you wish to configure.
  2. Select Properties.
  3. Click the Home Directory tab.
  4. Click the Configuration button in the Application Settings section.
  5. Click Add.
  6. In the Executable field, enter <Perl/bin>/PerlISEX.dll, where <Perl/bin> is the path to your PerlEx installation.
  7. In the Extension field, enter the file extension you would like associated with PerlISEX.dll.
  8. Click OK to accept the new Script Mapping.

Directory Mapping (Virtual Directories) on IIS 5

During installation, you had the option to create a virtual directory containing PerlEx examples. If you did not do so, or if you wish to add another virtual directory, follow the instructions below.

To create a virtual directory, select Internet Services Manager from the Administrative Tools menu in the Windows Control Panel.

  1. In the Tree panel on the left, right-click the web site you wish to configure.
  2. Select New|Virtual Directory.
  3. Enter the alias you wish to use for the directory.
  4. Click Next.
  5. Enter the path to the physical directory you want to use, e.g. <PerlPath>/eg/PerlEx, where <PerlPath> is the path to where ActivePerl is installed.
  6. Click Next.
  7. Select Read, Run scripts and Execute.
  8. Click Finish.