|
|
|

CGI
1.
What is CGI ?
2. What is Perl ?
3. What version of PERL do you support
?
4. Where can I find CGI scripts ?
5. I need a certain PERL module installed.
Can this be done ?
6. What are all the paths I need to correctly
configure my CGI scripts ?
7. Where do I place CGI scripts ?
8. I am getting a 500 error. What is that
?
9. How would I go about making permission
changes on my files and folders ?
10. Do you provide programming support
for 3rd party CGI scripts ?
11. Can I use any CGI script out there
?
1. What is CGI ? - Top
CGI stands for Common Gateway Interface. CGI runs on the webserver
and can add special features to your site.
2. What is Perl ? - Top
Perl stands for Practical Extraction and Report Language. It
is the most widely used language for CGI.
3. What version of PERL do you support
? - Top
The server is equipped with the lastest version of Perl 5.
4. Where can I find CGI scripts ?
- Top
We provide pre-installed scripts which you can find in your
control panel. Also, you are free to install your own scripts.
5. I need a certain PERL module installed.
Can this be done ? - Top
In most cases this can be done. However, we will only install
a module which will not hinder the server. Please make your
request to technical support.
6. What are all the paths I need to
correctly configure my CGI scripts ? - Top
Path to Perl: /usr/bin/perl
Path to Sendmail: /usr/sbin/sendmail
Absolute Path to Domain Root: /home/yourusername
Absolute Path to CGI-BIN: /home/yourusername/public_html/cgi-bin
URL Path to CGI-BIN: http://domainname.com/cgi-bin
*note* These paths are
indicated on your main cpanel page.
7. Where do I place CGI scripts ?
- Top
CGI scripts can run anywhere on your account, not just in the
cgi-bin directory. Of course, provided they are configured correctly
and called up using the correct path. But, some CGI scripts
are required to run from the cgi-bin for security reasons because
of the permission issue.
8. I am getting a 500 error. What is
that ? - Top
A 500 error on a script usually means there is a syntax or permission
error. There are two good ways to debug a script. First you
need to make sure this file was created, saved, and uploaded
in ASCII format. Be sure that the permission level of the script
filename or folder doesn't exceed 755. You can also check your
error log located in the stats section of the cpanel.
9. How would I go about making permission
changes on my files and folders ? - Top
We recommend using an FTP client in order to make permission
changes. Most FTP programs allow you to right-click on the file
or folder and adjust the permission level.
10. Do you provide programming support
for 3rd party CGI scripts ? - Top
We can guide you, however we do not provide direct programming
support for 3rd party scripts. Your best bet is to contact the
author, since he or she would know how to correctly configure
the script in question.
11. Can I use any CGI script out there
? - Top
Yes, as long as it doesn't negatively affect server performance,
or have negative side-effects.
|
|
|
 |