HostMonster Web Hosting Help

Can I add my own CGI scripts?


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.

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 164,107 views bookmark tags: cgi scripts (updated 1009 days ago)

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. (updated 1002 days ago)
Knowledgebase Article 83,081 views tags: cgi htaccess

Does your company have any limit about CGI script use? (updated 1006 days ago)
Knowledgebase Article 128,039 views tags: cgi script

What is CGI? (updated 1005 days ago)
Knowledgebase Article 107,967 views tags: cgi

Related Help Content

I need help with my CGI script? (updated 2029 days ago)
Knowledgebase Article 113,341 views tags: cgi scripting

Do You Have Any Applications Available for Customers to Use? (updated 647 days ago)
Knowledgebase Article 110,353 views tags: MOJO cgi scripts

Understanding the Basics of CGI. (updated 1005 days ago)
Knowledgebase Article 209,253 views tags: cgi

This article will explain how to connect your scripts to your MySQL databases. (updated 814 days ago)
Knowledgebase Article 25,143 views tags: database mysql scripts

Why am I Getting File Not Found When Executing My CGI? (updated 1391 days ago)
Knowledgebase Article 135,344 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 WordPres (updated 13 days ago)
Getting Started Article 525,133 views tags: blog install scripts simple wordpress

When performing an upgrade (in this case, Joomla) in Simple Scripts, it can throw the following error: "Host Server Unresponsive Unfortunately, the server you are attempting to install on appears to b (updated 1986 days ago)
Knowledgebase Article 64,114 views tags: htaccess scripts simple

Where do I Add, Delete and Manage Email Accounts? (updated 1339 days ago)