FAQ: CGI Scripts

 


What is a CGI script?
Does Way2Host support CGI scripts?
What is a CGI bin? What is it used for?
What languages can I use to write my CGI scripts and programs?
Can I install my own CGI scripts and programs?
What CGI scripts are available to me?


What is a CGI script?

Common Gateway Interface (CGI) is a standard method of transmitting information between an application and a Web server. CGI scripts are used to supplement basic HTML pages by making your Web site more interactive and functional. You can program many useful features with CGI scripts, such as hit counters, guest books, order forms and message boards. CGI is an alternative to Microsoft Active Server Pages (ASP).

Top


Does Way2Host support CGI scripts?

All of Way2Host's plans support CGI scripts and provide you with your own CGI bin in which you can place your CGI scripts.

Your plans include a free library of CGI scripts that you can use to enhance your Web site. These scripts are installed for you and are ready to run. SiteControl provides an interface that walks you through the steps for customizing these scripts and adding the necessary HTML to your web pages.

Top


What is a CGI bin? What is it used for?

The CGI bin is the directory where all of your CGI scripts are stored. Scripts are stored in this directory so that the Web server will know to execute these scripts instead of just displaying them in a browser. This directory has executable permissions, while all of your other directories should remain non-executable.

With your own local CGI bin directory, you can store custom CGI scripts that you have written yourself or found elsewhere on the Web. On Way2Host's servers, the path to the cgi-bin directory is home/domainname/www/cgi-bin.

Top


What languages can I use to write my CGI scripts and programs?

CGI scripts can be written in almost any programming language, including C, C++, TCL, Perl, Python, Java and Visual Basic. Way2Host's plans provide support for CGI scripts written in Perl 5.x, C++, GCC (GNU Compiler Collection), TCL and Python.

Top


Can I install my own CGI scripts and programs?

Yes. You can upload your own CGI scripts to your local /cgi-bin directory. On Way2Host's servers, the path to the cgi-bin is home/domainname/www/cgi-bin.

Top


What CGI scripts are available to me?

All of Way2Host's plans include the following scripts:
•   Counter script
•   GuestBook script
•   WWWBoard script
•   CGIEmail script
•   FormMail script

Top


© 2003 Way2Host
All rights reserved.