From Wiki
Jump to: navigation, search

How do I enable execute permission for Perl scripts?

Windows servers: Our Windows servers, no extra steps are needed to set permissions to run your Perl scripts.

Linux servers: Using your FTP program like CuteFTP or Ws_ftp, CHMOD the files to have 755 permissions. This will give the script execute permissions.
- Alternatively, you can change these permissions in the cPanel file manager. This is done by right clicking on the PERL file and going to "Change Permissions" then selecting "Execute" for User, Group, and World.

NOTE: All Perl (.cgi and .pl) files MUST be uploaded in ASCII (text) format, NOT binary.

In my HTM (HTML) page, how do I reference my PERL scripts?

You should place your Perl CGI scripts in your cgi-bin directory. Then in your HTM (HTML) page you would have a line something like this...

<FORM Method=POST Action="cgi-bin/yourscript.cgi">

What is the path to PERL pl .pl cgi .cgi?

Windows servers: On our Windows servers, Perl is associated via the .pl or .cgi extension. The exact path to Perl doesn't really matter. However, you still need something like


as the very first line of your script.

Linux servers:


What is ActivePerl?

ActivePerl is the Windows version of Perl. ActivePerl works just like Perl, except it's been ported to Windows servers.