1.
What is CGI?
2. Where should I put my CGI files?
3. What are the correct paths to my CGI scripts?
4. What are the correct permissions for my
CGI Scripts?
5. How do I change permissions on my CGI
scripts?
6. What version of Perl do we have?
7. What are the modules installed in Perl?
8. What other developmental languages does
your server support?
What is CGI?
CGI, or Common Gateway Interface, is the most
widely used scripting language in the internet. It is a Unix-based
scripting language used to enhance the functions of a website.
Most common interactive website functions that may use CGI scripts
are Guestbook, Inquiry Forms, Databases, Polling Centers, Messageboards,
among others.
Back To Top
Where should I put my CGI Files?
Every account has a cgi-bin folder inside the
public_html directory. Place your cgi and pl scripts into this
cgi-bin folder.
Back To Top
What are the correct paths to my CGI Scripts?
path to perl: /usr/bin/perl
path to date: /bin/date
Send_Mail path: /usr/sbin/sendmail
Full path to home directory: /home/username/public_html
Back To Top
What are the correct permissions for my
CGI scripts?
All .cgi and .pl scripts can only run with a 755
(-rwxr--r--) permission in our server.
Back To Top
How do I change the permission of my CGI
scripts?
Changing the permission of your scripts can easily be done using
your FTP program. To do that, connect to your Server using your
favorite FTP program. Highlight the file that you wish to change
permission. Right Click on the highlighted file then
choose FTP Commands -> Site. Enter SITE
string like this: chmod 755 name_of_file.
You can also use the UNIX command of changing file permission.
To do that, highlight the file that you wish to change permission.
Right Click then choose chmod (UNIX).
The following are the eqiuvalent UNIX command of changing
file permission:
(755) -rwxr--r--
(644) -rw-r--r--
(666) -rw-rw-rw-
(777) drwxrwxrwx
Back To Top
What version of Perl do we have?
We have Perl 5.6.1 currently installed in our hosting.
Back To Top
What are the modules installed in Perl?
Please click on the link below to see the modules installed
in our Perl:
http://65.247.184.235/perldiver.cgi
Back To Top
What other developmental languages does
your server support?
Aside from CGI, our server supports PHP and WAP.
Back To Top