|
I'm installing a cgi script, where is perl located?
The absolute path to the "perl" program is, "/usr/bin/perl"
and should be placed on the first line of your script. Perl's
path should be preceded with what is know as a hash bang
"#!". Your program may also pass additional information
to the perl program though the use of a switch. Switches
are implemented in this manner, "#!/usr/bin/perl -T".
Back to Tech
My cgi script wants to know where to find sendmail!
Sendmail is the software program responsible for handling mail
passed across the net. It can also be used to process mail generated
by cgi scripts. The absolute path to sendmail on our system is
"/usr/sbin/sendmail" and will most likely be the value of some
variable within your script. You might find the variable being set
in this manner. $MailVar = "/usr/sbin/sendmail";
Back to Tech
Where can I find free scripts and information?
A world of information about cgi programming and free scripts can
be easily found by keyword searching any popular search engine.
The following links are a few of my favorites.
Matt's Script Archive
Joe's Free Scripts
The CGI Resource Index
Back to Tech
My cgi script fails, can I see my error log?
Yes, as a matter of fact you will find a useful script already in
your cgi bin that does just that. Simply direct your browser to
http://yourdomain.com/cgi-bin/tail.cgi. You will then be able to
see the last twenty lines of your error log. If you need to see
more just increase the number in the text box and hit return.
Back to Tech
What is .htaccess and why would I need it?
When publishing a website, it is assumed that you would like to
make your material available to others. In some instances it is
possible that you would like to restrict that access to certain
individuals. (.htaccess) is the industry standard for restricting
access to certain portions of your website. This is accomplished
by placing an .htaccess file in the directory you would like to
restrict and linking it to a central password file. Your personal
account manager can aid you in creating a central password file as
well as the individual files needed to restrict access to certain
directories.
Back to Tech
Why do I already have files in my new directory?
When your account is first created several files and software
programs are installed. Please be careful about deleting files
your do not understand. Your home directory contains many
configuration files needed to control everything from the actual
login itself to the processing your email. Within your cgi-bin
there is several scripts that facilitate such things as e-mail
gateways used in submission forms, counter and clock scripts, and
your personal account manager.
Back to Tech
|