1999 Dec 21
This document describes how to make existing WWW pages available from your Trinity CS account; it assumes you have somehow already created the WWW pages.
Since WWW pages are stored as files, you will need to know about UNIX files and UNIX file permissions. If not, read those tutorials first.
Most WWW pages are files containing HTML code. The HTML language is relatively primitive and uninteresting to learn and will not be discussed here.
The address of a Trinity CS WWW page such as http://www.cs.trinity.edu/~joldham0/tutorials/WWW-post/index.html consists of three parts:
Making a WWW page available to the outside world is as simple as placing a file containing HTML in your ~/Local/HTML-Documents directory. For example,
(I believe the following to be correct, and it works for me, but technical details may partially invalidate some of the claims.)
The file's permissions control whether the WWW page is visible. Ensure everyone has read privileges for the WWW page:
The permissions of each directory starting with your home directory must have both read and execute permissions.2 For example, for a WWW page located at ~joldham0/Local/HTML-Documents/tutorials/WWW-post/index.html, my home directory, the Local directory, the HTML-Documents directory, the tutorials directory, and the WWW-post directory must have read and execute privileges. To do this, apply
This requirement that your home directory is readable and searchable means that any Trinity CS user can look at the files in your home directory. To ensure these files' privacy, make sure their file permissions only permit you, the owner, to access them. Alternatively, move them into a subdirectory of your home directory.
Just as a table of contents lists a book's contents, most directories containing WWW pages need a WWW page named index.html listing the directories' contents. This is such a common practice that a WWW address such as
I do not know where to ``read more about it.'' Please send suggestions to Jeffrey D. Oldham.