|
CGI/Perl Scripting This general document contains the paths and directions to run CGI/Perl Scripts on our servers.
What are CGI scripts?
CGI stands for 'common gateway interface'. It is a method used by programs to
send and receive information via a web browser. To expand the capabilities of
your website, you will need to use CGI scripts that can handle form processing,
shopping carts, counters, guestbook etc. Our servers have the capability to run
CGI scripts written in Perl.
Can I run my own CGI/Perl scripts?
Yes you can create and run your own CGI/Perl scripts and upload it to your own
private cgi-bin directory. The 'cgi-bin' directory has already been created for
you and in your directory.
What are some common settings/paths for my CGI scripts?
Most Perl cgi scripts will work on Windows 2000 servers. For your scripts to
work properly, you may need to change some paths or settings within the script
to the following:
Perl 5 Location
#!/usr/bin/perl or d:/perl
Sendmail Program
C:/winnt/system32/blat.exe
SMTP
mail.yourdomain.com
CGI Url
http://yourdomain.com/cgi-bin/file.cgi
Your full or absolute root path is:
d:/inetpub/yourdomain.com
The full path to your www directory would be:
d:/inetpub/yourdomain.com/wwwroot/
The full path to your cgi-bin directory would be:
d:/inetpub/yourdomain.com/wwwroot//cgi-bin/
Remember !
Replace yourdomain.com
with the hosting account domain name that you registered with us.
Troubleshooting !
1) Check the compatibility of the written script. Not all
CGI/Perl Scripts are made to run on Windows 2000 Servers. The compatibility of
each script should be written in attached documents by the developer or
displayed on the developer's website. The scripts should support Windows NT
Servers in order to be executed on your website.
2) Make sure all your paths are set correct. Make sure
the path to perl is set correctly.
3) Make sure the script is uploaded to your Cgi-bin.
Do you have a collection of popular Perl scripts?
No, not at the present time however we will have a listing of commonly used
scripts and all the settings intact for use on our servers. In the meantime you
can find a good collection of cgi scripts by doing a simple search.
Do you offer CGI/Perl Scripts installation service?
This service is only limited to our hosting customers. A
service charge will be impose for each installation. You may contact support for
more details.
Do you sell premium CGI/Perl Scripts?
We currently do not offer this service.
Do you offer custom made CGI/Perl Script solutions?
We currently do not offer this service.
How do I use the built-in scripts?
There are certain default scripts that you do not have access to. More
information on this scripts are available on your control panel.
What kind of server is my site hosted on?
Your website is hosted on powerful Windows 2000 based Servers.
|