Installation
Once you have your HTML pages ready, you need to install them in the proper
place in your CUUG account. This makes them available to the entire internet
through CUUG's WWW server.
Your files must be placed in a directory called
public_html located in your home directory. This directory, as
well as your home directory must be "world readable" so that the server can
access the files. The files themselves must also be "world readable".
The server will map the URL http://www.cuug.ab.ca:8001/~userid
to your public_html directory, and will automatically look for the
index.html file to load as your home page. If you wish to have your
home pages added to the list of CUUG Persoanl Pages,
then you must have an index.html file present. The
list is updated automatically and the program checks for the existence of this
file before adding a person to the list.
The server will actually "look for" the index.html file in any
sub-directory you create in your public_html directory. If you
had a directory called things then the URL
http://www.cuug.ab.ca:8001/~userid/things would look for
index.html in the things sub-directory.
The final step
The final step for CUUG is to drop a note via email to the webmaster
who maintains the list of home pages for CUUG members. You can ask to have
your page included in the list of members pages.
Common Problems & Solutions
- Question: How do I make a directory "world readable"?
- Answer: You need to use the UNIX command chmod to change
the permissions on the directory. The proper settings are:
chmod 755 directory-name
If you are in the directory that you wish to change, you can use a dot
as the filename so that it looks like this:
chmod 755 .
- Question: How do I make a file "world readable"?
- Answer: You need to use the UNIX command chmod to change the
permissions of the file. The proper settings are:
chmod 644 filename
- Question: I entered the URL as .../filename.htm and my browser
displays it as the HTML source rather than rendering it. What's
wrong?
- Answer: CUUG's server runs on Unix, which supports long filenames, since
CUUG does not want to falsely give the impression that we are using
non-Unix servers and software, the CUUG WWW server insists that
documents have the proper extention of .html rather than the
abbreviated extention typically used by DOS.
Change the filename and URL to end in .html and it will work as
expected.