I was amazed by the high standard
of their customer service, Since then, I have trusted SimplyBeHosted with
all my sites and I have never been disappointed yet.
Thank you for providing such a fantastic service and for always being so
responsive. Vicky Etherington
www.azuremarketing.com
|
Read
More.. |
|
How do I implement custom CGI scripts? |
Our servers have the capability to run CGI scripts based on Perl. Perl is our language of choice as it is a world standard and is well suited to CGI. In addition, Perl code does not require manual compilations whereas C code must be compiled prior to use.
If you have a custom CGI script that you need to use, simply upload it to your personal "cgi-bin" Here are some helpful tips to follow when installing Perl scripts:
Upload to your cgi-bin directory to ensure proper file permission settings
Upload in ASCII transfer mode (and NOT BINARY mode)
The first line of each script must read: #!/usr/bin/perl
Reference the script using /cgi-bin
The installation of a custom script to your cgi-bin often requires a special file permission. However, in some instances it may still be necessary to set a file or directory permission.
In instances whereby a file or directory's public read or write permissions must be changed, you have to use the following command and syntax:
chmod ### 'filename or directory name'
Our recommended FTP client, WSFTP, can be used to set permissions. With the current version, instead of directly typing the chmod code, there is a set of check boxes that you will use to change the permissions.
To change permissions, perform the following steps:
1- Open the WSFTP program and connect to your web site.
2- Select the file or the directory on which you want to change permissions.
3- Click your right mouse button to activate the pop up menu.
4- Select "chmod (UNIX)". A "Remote file permissions" window will appear. |
|
|
|
[BACK]
Additional Information |
Article ID: 27
Author: Support
Created On: 28 Feb 2020
Views: 676 |
|
|
|