This is your cgi-bin directory.

You may verify whether cgi-bin is functioning by going to the following URL, substituting your own login name:

http://www.vbbn.com/~login/cgi-bin/test.cgi

If you have ordered virtual hosting for your custom domain, you would test it as follows:

http://www.mycustomdomain.com/~login/cgi-bin/test.cgi

Substituting your domain for 'mycustomdomain' above.

You will reference your cgi scripts as shown in the examples above. cgi-bin scripts and programs must be executable, must reside within your cgi directory, and the name of each script or program must end with '.cgi'. The permissions on such files must be set "750" at minimum (readable and executable by "owner" and "group"). To set the permissions, use your ftp client program's facility for changing permissions.

Whenever you add a new program/script to your cgi directory, you must be sure the permissions are set appropriately, or the cgi will not run.

Please note that perl scripts must be uploaded in ASCII/TEXT format, not binary! Perl scripts will not work if uploaded using binary transfer mode.

Vista's perl binary is located at /usr/bin/perl, and also at /usr/local/bin/perl. We are currently running version 5.6.1. Also commonly requested is the path to sendmail, which is /usr/lib/sendmail (/usr/sbin/sendmail will work as well). We do not run sendmail at Vista, however the sendmail binary is a functionally equivalent workalike.

Vista does not provide any technical support for your cgi scripts and programs beyond ensuring that cgi access is enabled for your account. The test.cgi script referred to above is your assurance that cgi has been enabled.

A wealth of ready-made cgi scripts are available at Matt's Script Archive.