CGI PERL on Web 4 Students

Here are the things you need to do to make PERL scripts work on Web4Students:

Permissions: It is now extremely important that you change the "permissions" on your CGI-PERL library documents so that they will work.

Permissions were designed for UNIX servers. Permissions give various rights of access to various users. The three types of users are known as Owner, Group, and Other. The three types of permissions are the permissions to Read a file, Write to a file, and Execute a file.

You set permissions as follows:

  1. Upload your file using FTP
  2. Within the right window of WS_FTP, or other FTP software (the server window), select the file.
  3. Right click to bring up a context-sensitive menu.
  4. Select "chmod(Unix)", which means "change modes."
  5. A dialog box will appear. Change the modes based on the table below. You do not need to change the modes for your form, located in the root directory.
  6. You may need to execute the last step twice. The Web4Students server has been a little "buggy," and the permission changes do not always "take" the first time you change them.

  Owner Group Other
File Name Directory R W E R W E R W E
cgi-lib.pl CGI-BIN
X
X
X
X
 
X
X
 
X
count.txt CGI-BIN
X
X
X
X
X
 
X
X
 
tlform.html root
 
 
 
 
 
 
 
 
 
img_counter.cgi CGI-BIN
X
X
X
X
 
X
X
 
X
tl_form.pl CGI-BIN
X
X
X
X
 
X
X
 
X
NNbook.txt
NN=Your initials
root
X
X
 
X
X
 
X
X
 
tlform.css root