HostMonster 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.

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 185,825 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 96,512 views tags: cgi htaccess

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

What is CGI?
Knowledgebase Article 120,995 views tags: cgi

Related Help Content

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

Do You Have Any Applications Available for Customers to Use?
Knowledgebase Article 121,579 views tags: MOJO cgi scripts

Understanding the Basics of CGI.
Knowledgebase Article 244,898 views tags: cgi

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

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

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
Getting Started Article 649,658 views tags: blog install scripts simple wordpress

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

When you add the HostMonster.com form to your site and test it, you're not receiving the form results. Why not?
Knowledgebase Article 148,336 views tags: cgi form mail script