Do-It-Yourself
CGI scripts
Precision Web Hosting and Design provides
Do-It-Yourself CGI scripts you can install on your server. Keep in mind
that cgi scripting is a programming tool. Problems resolving from these
and other cgi scripts are not covered under technical support.
Click here
for more information in cgi installation
A few common parameters that you may
need in installing your cgi script are:
First line of perl scripts should be:
#!/bin/perl
Your base directory is:
/www/htdocs/your_directory/
(where your_directory = domain name less
the .com)
The location of our send mail program is:
/bin/sendmail
The location of our date program is:
/bin/date
Tips for CGI Installations
1. Run the perl checker on the script
you are installing. Your perl checker is at: http://yourdomain.com/vpanel/
(Don't forget the trailing slash)
2. Read the documentation for the script
you are trying to install!
3. If you don't find any documentation
WITH the script, check inside the script ITSELF, some scripts have the
instructions written in with the coding.
4. If you can't find any help, contact
the author of the script (most scripts have the author's information in
the header of the script)
5. Make sure you have properly set any
permissions for the file (most scripts require CHMOD 755, or read-execute
permission to properly execute on the server)
6. Make sure you have properly set all
paths and parameters!
7. Make sure (if it's a Perl script) you
transferred it as an ASCII file (Perl scripts are text files [ASCII] not
binary files like some compiled CGI scripts!)
8. Look at your error logs to see if the
error description is helpful in determining the problem. You can see your
error logs fromyour vpanel.
If you need help installing or writing
custom cgi scripts, click here for a list of programmers
who will get you up and running.
The following links are excellent sources
for more cgi scripts on the internet.
http://www.cgi-resources.com/Programs_and_Scripts/Perl/
http://www.worldwidemart.com/scripts/ |