Perl

Running Perl as a CGI (Common Gateway Interface) script at Loopia requires a Unix-based hosting account and a few specific file settings. This article lists the requirements and the server paths to Perl and Sendmail.

Requirements for running a Perl CGI script

To run a CGI script at Loopia, the following is required:

  1. The (sub)domain must be on one of our Unix servers.
  2. The script must be located in the cgi-bin directory.
  3. The file extension must be .cgi for this to work.
  4. The file permissions must be 755 (CHMOD). You can set this with an FTP client.
  5. The path to Perl is /usr/local/bin/perl.
  6. The path to Sendmail is /usr/sbin/sendmail.

Support scope for scripts

Our support does not cover script-related problems that are not caused by one of our servers or similar, and we are unable to assist you with your programming.

If you have a problem with a script and would like us to look at it, send us the path to the script, a brief explanation of what you are trying to do and any error messages you receive.

The following external resources are useful for Perl and CGI (Common Gateway Interface) developers:

Was this article helpful?

Related Articles