Pay online |
CGI Script InformationAs a courtesy to our users, IwayNet allows each user to have access to the CGI-BIN directory. Many users will not need to have CGI-BIN access and just would like to use a Form-to-Email script, or a counter on their Web Page. By providing these scripts for general use, our customers may not need to learn how to program scripts and can benefit from its availability. We have tried to make available such items at the request of our users. Thus, if there is something in particular that you think many people will want to use send an Email message to the Webmaster with your suggestion! UNIX File Permissions must be set properly for any CGI script to run. This lies primarily on the "execute" bit to be set, otherwise the system does not recognize the file as an executeable file and you will encounter an error when attempting to run it. The following is an example of what a UNIX File List looks like: drwxr-xr-x 3 root 512 Jun 30 10:57 . drwxr-xr-x 9 root 512 Jun 2 15:43 .. drwxr-xr-x 2 root 512 Apr 19 15:45 Counter -rwxr-xr-x 1 root 4748 Apr 22 16:15 FormMail.pl -rw-r--r-- 1 root 1304 Jun 30 10:52 formmail.txt -rw-r--r-- 1 root 23799 Jun 30 10:52 readme.txt -rwxr-xr-x 1 root 1901 Jun 30 14:30 search.cgi In most cases, you will only need to have the permissions set like that of line four above (-rwxr-xr-x). In an FTP program that lets you set the file permissions (CuteFTP, WsFTP Pro, Fetch, FileZilla) you want the following options: Group = Read, Execute Others = Read, Execute PERL is available scripting languages for use on our server. To properly use PERL you must have the location of the interpreter properly configured in the beginning of your script. Support: support@iwaynet.net |