Adding Perl Support

On Windows:

  • Download ActivePerl from http://www.activestate.com/Products/ActivePerl and install it.
  • Open Abyss Web Server's console, select Server Configuration then press Advanced... and select CGI Parameters
  • Set CGI Processing Enabled to Yes.
  • Press Add... in the CGI Interpreters table.
  • In the Interpreter Path field, enter the path of the perl.exe executable file. If you have installed Perl in C:\Program Files\Perl, enter C:\Program Files\Perl\bin\perl.exe.
  • Enter pl cgi (type pl, space, then cgi) in the Associated extensions, set Automatic Update of the CGI Paths to Yes, and press OK.
  • Press OK in the CGI Parameters dialog.
  • Select Server Parameters.
  • Press Add... in the Index Files table.
  • Enter index.pl in the Index file field and press OK.
  • Again press Add... in the Index Files table.
  • Enter index.cgi in the Index file field and press OK.
  • Press Restart to restart the server.


On MacOS X:

MacOS X includes Perl by default. So all you have to do is to declare it to Abyss Web Server to start executing your Perl CGI scripts.

  • Open Abyss Web Server's console, select Server Configuration then press Advanced... and select CGI Parameters
  • Set CGI Processing Enabled to Yes.
  • Press Add... in the CGI Interpreters table.
  • In the Interpreter Path field, enter the perl executable file path which is by default /usr/bin/perl. If for some reason, this default path is not accepted by Abyss Web Server, you can know the real perl executable path on your computer by executing the command which perl in the Terminal application (located in the Utilities folder inside the Applications folder).
  • Enter pl cgi (type pl, space, then cgi) in the Associated extensions, set Automatic Update of the CGI Paths to Yes, and press OK.
  • Press OK in the CGI Parameters dialog.
  • Select Server Parameters.
  • Press Add... in the Index Files table.
  • Enter index.pl in the Index file field and press OK.
  • Again press Add... in the Index Files table.
  • Enter index.cgi in the Index file field and press OK.
  • Press Restart to restart the server.


On Linux/FreeBSD:

  • Most Linux/FreeBSD 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.
  • Open Abyss Web Server's console, select Server Configuration then press Advanced... and select CGI Parameters
  • Set CGI Processing Enabled to Yes.
  • Press Add... in the CGI Interpreters table.
  • In the Interpreter Path field, enter the path of the perl executable file. You can retrieve it by executing the command which perl on the shell. In most cases, it is either /usr/bin/perl or /usr/local/bin/perl.
  • Enter pl cgi (type pl, space, then cgi) in the Associated extensions, set Automatic Update of the CGI Paths to Yes, and press OK.
  • Press OK in the CGI Parameters dialog.
  • Select Server Parameters.
  • Press Add... in the Index Files table.
  • Enter index.pl in the Index file field and press OK.
  • Again press Add... in the Index Files table.
  • Enter index.cgi in the Index file field and press OK.
  • 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