Adding Perl Support

On Windows

Download and install Perl

Declare the interpreter

  • Open Abyss Web Server's console. In the Hosts table, press Configure in the row corresponding to the host to which you want to add Perl support.

    If there is no Hosts table in the main screen of your console, this means that you are using an old version of Abyss Web Server. Please upgrade to the latest version before proceeding. Upgrading is free, straightforward, and preserves your current server configuration. Click here to download the latest version.

  • Select Scripting Parameters.
  • Check Enable Scripts Execution.
  • Press Add in the Interpreters table.
  • Set Interface to CGI/ISAPI.

    Note that if you do not find an Interface field, you can ignore this step and continue with the following instructions.

  • In the Interpreter field, press Browse..., go to the directory where you have installed Perl, click on the bin subdirectory, and click on perl.exe.
  • Check Use the associated extensions to automatically update the Script Paths.
  • Press Add in the Associated Extensions table.
  • Enter pl in the Extension field and press OK.
  • Press again Add in the Associated Extensions table.
  • Enter cgi in the Extension field and press OK.
  • Press OK
  • Press OK in the Scripting Parameters dialog.

Declare new index files

  • Select Index Files.
  • Press Add in the Index Files table.
  • Enter index.pl in the File Name field and press OK.
  • Press again Add in the Index Files table.
  • Enter index.cgi in the File Name field and press OK.

Apply the modifications

  • Press Restart to restart the server.

On macOS

Download and install Perl

  • macOS includes Perl by default. There is nothing special to install.

Declare the interpreter

  • Open Abyss Web Server's console. In the Hosts table, press Configure in the row corresponding to the host to which you want to add Perl support.

    If there is no Hosts table in the main screen of your console, this means that you are using an old version of Abyss Web Server. Please upgrade to the latest version before proceeding. Upgrading is free, straightforward, and preserves your current server configuration. Click here to download the latest version.

  • Select Scripting Parameters.
  • Check Enable Scripts Execution.
  • Press Add in the Interpreters table.
  • Set Interface to CGI/ISAPI.

    Note that if you do not find an Interface field, you can ignore this step and continue with the following instructions.

  • In the Interpreter field, press Browse..., go to the directory /usr/bin/, and click on perl. If for some reason, perl is not in there, execute the command which perl in the Terminal application (located in the Utilities folder inside the Applications folder) to know in which directory it is.
  • Check Use the associated extensions to automatically update the Script Paths.
  • Press Add in the Associated Extensions table.
  • Enter pl in the Extension field and press OK.
  • Press again Add in the Associated Extensions table.
  • Enter cgi in the Extension field and press OK.
  • Press OK
  • Press OK in the Scripting Parameters dialog.

Declare new index files

  • Select Index Files.
  • Press Add in the Index Files table.
  • Enter index.pl in the File Name field and press OK.
  • Press again Add in the Index Files table.
  • Enter index.cgi in the File Name field and press OK.

Apply the modifications

  • Press Restart to restart the server.

On Linux

Download and install Perl

  • Most Linux distributions come with Perl. To check if it is installed, execute which perl. If not available, download it from http://www.perl.com and install it.

Declare the interpreter

  • Open Abyss Web Server's console. In the Hosts table, press Configure in the row corresponding to the host to which you want to add Perl support.

    If there is no Hosts table in the main screen of your console, this means that you are using an old version of Abyss Web Server. Please upgrade to the latest version before proceeding. Upgrading is free, straightforward, and preserves your current server configuration. Click here to download the latest version.

  • Select Scripting Parameters.
  • Check Enable Scripts Execution.
  • Press Add in the Interpreters table.
  • Set Interface to CGI/ISAPI.

    Note that if you do not find an Interface field, you can ignore this step and continue with the following instructions.

  • In the Interpreter field, press Browse..., go to the directory where the Perl executable is installed and click on perl. You can know it by executing the command which perl on the shell. It is usually in /usr/bin/ or /usr/local/bin/.
  • Check Use the associated extensions to automatically update the Script Paths.
  • Press Add in the Associated Extensions table.
  • Enter pl in the Extension field and press OK.
  • Press again Add in the Associated Extensions table.
  • Enter cgi in the Extension field and press OK.
  • Press OK
  • Press OK in the Scripting Parameters dialog.

Declare new index files

  • Select Index Files.
  • Press Add in the Index Files table.
  • Enter index.pl in the File Name field and press OK.
  • Press again Add in the Index Files table.
  • Enter index.cgi in the File Name field and press OK.

Apply the modifications

  • Press Restart to restart the server.

Keep in touch with us

Sign up for our low volume newsletter to get product announcements, articles and power tips.

or