To get WWWBoard working, you must copy a perl script to your cgi-bin directory. Other required files will be copied to a folder in your "public_html" directory.
ln -s /usr/local/etc/httpd/cgi-bin/users/your_username cgi-bincd cgi-bincp /usr/local2/httpd/htdocs/bin/wwwboard/wwwboard.pl wwwboard.plfrank $ mkdir public_html (this is the directory for your Web pages.)frank $ chmod a+rx public_html (this changes the permissions on this directory)cd public_html (change to this directory)mkdir wwwboard (make a directory for your WWWBoard files)chmod a+rx wwwboard (change the permissions)cd wwwboard (change to the directory)cp /usr/local2/httpd/htdocs/bin/wwwboard/data.txt . (copy the WWWBoard files to the current directory)1cp /usr/local2/httpd/htdocs/bin/wwwboard/*.gif . (copy the gif files to this directory)2cp /usr/local2/httpd/htdocs/bin/wwwboard/*.html . (copy the html file)mkdir messages (make the subdirectory for the messages)chmod a+rwx messages (change the permissions)chmod a+rwx *.txt (change the permissions)chmod a+rwx *.html (change the permissions)chmod a+r *.gif (change the permissions)-rwxrwxrwx data.txt
drwxrwxrwx messages
-rw-r--r-- squig4.gif
-rw-r--r-- squig5.gif
-rwxrwxrwx wwwboard.html
1 "data.txt" contains the integer that will be used to number the messages. You may edit this file if necessary.
2 The two gif files are used in the HTML page that is displayed for the online discussion.
1. If you are using this with a class you may want to create a class page with syllabus, lecture notes, and a link to your discussion group ( i.e., the link to WWWBoard). It is recommended that you add the link only after you are sure WWWBoard is working correctly in your account.
2. Look at some examples first
3. Open Netscape and display MTSU Home Page.
1. Open Netscape and display MTSU Home Page.
2. Go to http://www.mtsu.edu/~yourusername/wwwboard/wwwboard.html
3. The first page you see is in Figure 1.
4. To post the first question or message, fill in "Name," "E-Mail," and "Subject." Then type in the message and select "Post A Message! (see Figure 2) The subject of my first question is "Using the Web". It is a hypertext link; therefore, to read my question you must select it.
5. Now you can post a new message/question if you are a group participant or you might want to respond to my message.
a. To post a new message fill in the boxes on Figure 2 under "Post a Message!"
b. To respond to a message, or another response
1. Select the response, and it will be displayed. (See Figure 3)
2. The followups numbered #1 and #2 simply move you to a different part of the page. To respond, select Post Followup ( i.e. #2).
3. Fill in Name and Email, then place cursor at #3 on Figure 3 and type in your response.
4. If you select "Submit Follow Up", it says "message added", and displays your message. Then (#4) "On-line Discussion". Now On-line Discussion Form is displayed.
5. To get your message to show up, select Reload at the top of Netscape's page.
REMEMBER: You must select Netscape's Reload Command in order to see your message or response. This must be emphasized over and over to discussion group participants!!
1. Determine the number of the message or response to be deleted. Simply select the message and its number will be displayed in the "Location" window of Netscape (near the top of the Netscape window).
2. Edit wwwboard.html
Use pico or vi to edit the file. Assume the message to be deleted is #25. Search the file for that number. Delete all lines starting with the line
<!--top:25-->
and ending with the line
</ul><!--end:25-->
Be careful not to delete other lines. Save the file and exit the editor. Now select Netscape's Reload command to determine whether or not the message is gone. Assume the deletion was successful.
3. Now change to the messages directory and remove the corresponding file.
cd messages {change to messages directory}Contact Curt Curry (x5160 or ccurry@mtsu.edu).