This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

Can I add my own CGI scripts?

Summary

Our Linux web servers have the capability to run CGI scripts in your own "cgi-bin" directory. Scripts may be written in Perl, Python and CGI languages.

This article applies to servers using our Legacy platform. CGI is not available for Rock accounts.

Using CGI Scripts

Here are some helpful tips to follow when installing scripts:

  • 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). If you need help in changing script permissions, please see our article about setting file and user permissions.
  • Upload in ASCII transfer mode (and NOT BINARY mode)
  • The first line of each script must read: a) #!/usr/bin/perl (for Perl) b) #!/usr/bin/python (for Python)
  • Ensure the permissions are set to 755

Knowledgebase Article 334,490 views bookmark tags: cgi scripts


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How to run CGI scripts for Addon domains.
Knowledgebase Article 232,467 views tags: cgi htaccess

Does your company have any limit about CGI script use?
Knowledgebase Article 270,319 views tags: cgi script

What is CGI?
Knowledgebase Article 239,840 views tags: cgi

Related Help Content

I need help with my CGI script?
Knowledgebase Article 250,209 views tags: cgi scripting

Do You Have Any Applications Available for Customers to Use?
Knowledgebase Article 256,240 views tags: Marketplace cgi scripts

Understanding the Basics of CGI.
Knowledgebase Article 381,947 views tags: cgi

This article will explain how to connect your scripts to your MySQL databases.
Knowledgebase Article 236,833 views tags: database mysql scripts

Why am I Getting File Not Found When Executing My CGI?
Knowledgebase Article 283,725 views tags: cgi

We provide a program which makes it very easy to install third party scripts to your hosting account. If you want your website to have a WordPress blog, you can use MOJO Marketplace to install WordPress.
Getting Started Article 1,128,582 views tags: blog install scripts simple wordpress

How to create a package on your Reseller account.
Getting Started Article 143,461 views tags: add hosting limit package reseller

This article explains how to add CPU and memory upgrades to a CloudSites account.
Knowledgebase Article 124,474 views tags: add cloudsites cpu memory resources upgrade

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.