EsoSoft Corporation

Basic Web Hosting
Service & Support


CGI Script Tutor

What is a CGI Script? What Does it Do?
CGI stands for Common Gateway Interface. CGI Scripts are powerful programs which can make your site more attractive and efficient. CGI Scripts usually interact in some way with the visitors to your web site.

What is the Relationship Between EsoSoft and CGI Scripts?
If you have a Basic Web Hosting Account with EsoSoft, you have your very own cgi-bin directory. In that directory, you can install any CGI Script written for the UNIX Operating System (our severs run FreeBSD).

You can find hundreds of free CGI Scripts - ready to install - on the Internet. Here are a couple of Web Sites that offer ready to use CGI Scripts:

EsoSoft cannot install CGI Scripts for you. We can provide you with some quick help, and we may take a look at your script, but we cannot install complete scripts. The installation must be done by you.

Before contacting EsoSoft's Service & Support Team for assistance, please review the following:

  • Be sure that you have uploaded your scripts files to the server in ASCII mode (not binary mode). This is a setting in your FTP program and it is very important that your script's files be uploaded in ASCII mode.
  • Be sure that you have made the script executable with "chmod 755". If this is not done, your script will never function. You can set the chmod via your FTP program.

If you have a Basic Web Hosting Account with us, we have pre-installed a little CGI Script. You can see this in action at:

      http://www.your-domain.com/cgi-bin/test.cgi

Additional CGI Script Information
If you are installing a CGI Script, the following information can be useful:

  • Absolute server path to your web site root directory:
    /dnshome/your-domain.com
     
  • CGI directory URL:
    http://www.your-domain.com/cgi-bin
     
  • Location of Perl 5.8.9:
    /usr/bin/perl or /usr/local/bin/perl
     
  • Location of Sendmail:
    /usr/sbin/sendmail
     
  • Location of the date program:
    /bin/date
     
  • Location of Python:
    /usr/local/bin/python

Experts Only!
EsoSoft has also installed many common Perl modules from the CPAN archive (http://www.cpan.org) If you need a certain module for your CGI Script, contact our Service & Support Team. Please tell them which modules you need and they will let you know if we have the module installed - and if so, which version.

Personal Assistance
At EsoSoft, Service and Support are our Top Priorities!

If you need any type of personal assistance, do not hesitate to contact our Service & Support Team at:

support@esosoft.com

A member of our team will be very happy to assist.

For identification purposes, please write from the e-mail address on-file for your account or include your account's password in your e-mail message.

Back to Basic Web Hosting Support

 


[Contact Us] [Legal] [Privacy]
Copyright © by EsoSoft Corporation 1996-2017
EsoSoft Corporation All Rights Reserved.
http://www.esosoft.com