Other
Support Topics 

CGI Scripts will work on JVLNET if installed
and setup properly.
Here are some tips for getting your CGI scripts working on JVLNET:
 |
|
READ AND PRINT THE INSTRUCTIONS! Most
CGI scripts come with very good instructions that can help save you a lot of problems. |
|
|
|
 |
|
Make sure your CGI Script file is named
anyname.cgi
(Your CGI Script MUST end in .cgi ,not .pl or any other extention). |
|
|
|
 |
|
Make sure the first line of your CGI Script is
#!/usr/bin/perl |
Uploading
Most Perl scripts require you to upload
them in a ASCII format instead of binary. This setting is in your ftp
program. This may be the reason if you are getting an error message,
re-upload your script again using the ASCII option.
Permissions
You will also have to make the program
executable. To do this you can use your FTP program, most ftp programs like WS_FTPLE
will do this. Once the file is uploaded click on the program once, then
right click on it again. You will see some options, you want to find either
a "chmod" command or "change permissions".
Click on the "Execute" boxes and
hit "ok".
Command Locations
On JVLNET Unix servers the first line of your script should read like this
to run a PERL script:
#!/usr/bin/perl
Other basic UNIX command locations should be at the following:
- Perl: /usr/bin/perl
- mail: bin/mail
- date: /bin/date
- chmod: /bin/chmod
- YourDirectory: /usr/home/logonname
For more information on getting and setting
up scripts try Matt's script archive
You may also SEARCH for CGI scripts on the
internet, get a CGI Scripting & Pearl book from a local bookstore, or contract the
Web maker Consulting Service of your choice.
Please note: JVLNET does not provide free
technical support on any type of CGI or Pearl programming or configuration!
For additional assistance
with your script, please contact the JVLNET
Website Design Team.
|