Knowledgebase

KnowledgebaseCloud/VPSCloud HostingFile Management
Back to File Management

Can I Add My Own CGI Scripts


This article is for cPanel Accounts. Determine where your account is with this guide.

Our cPanel shared web servers can run CGI scripts in your own "cgi-bin" directory. Scripts may be written in Perl and CGI languages.

Here are some helpful tips to follow when installing scripts:

  1. Upload to your cgi-bin directory to ensure proper file permission settings. All scripts on our server must have permissions set to 755 (rwx-rx-rx).
  2. Upload in ASCII transfer mode (and NOT BINARY mode)
  3. The first line of each script must read: #!/usr/bin/perl
  4. Ensure the permissions are set to 755

Related Articles

Am I Responsible For Monitoring My Bandwidth Usage
Can I Point My Primary Domain To A Sub-folder
Can I Reset My Website Files
Can I Use A .htpasswd File In My Account
Can I Use cPanel In The Safari Browser

Can’t Find what you need?

No worries, Our experts are here to help.