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
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.
- In the Tree panel on the left, right-click the web site you wish to configure.
- Select Properties.
- Click the Home Directory tab.
- Click the Configuration button in the Application Settings section.
- Click Add.
- In the Executable field, enter <Perl/bin>/PerlISEX.dll,
where <Perl/bin> is the path to your PerlEx installation.
- In the Extension field, enter the file extension you would like
associated with PerlISEX.dll.
- Click OK to accept the new Script Mapping.
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.
- In the Tree panel on the left, right-click the web site you wish to configure.
- Select New|Virtual Directory.
- Enter the alias you wish to use for the directory.
- Click Next.
- 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.
- Click Next.
- Select Read, Run scripts and Execute.
- Click Finish.