How to make your own Quick & Dirty Web Page:
-------------------------------------------
(Download and print ... or just print ... this plain-text file, then
dig in!)
-----------------------------------------------------------------------
Ken's Web Page Construction Kit has 2 parts:
(1) This document, below: Dave Kelley's excellent "NUGGET" instructions
for configuring your UHAVAX account;
(2) A link to NCSA's "HTML Primer," which document you should also
download, print, and read.
That's enough information to get a decent Web page going for yourself.
Many Web pages, including mine, have a few features that the HTML Primer
does not cover--for instance, the feature "send email to me." You can
see how such things are done by *looking at the HTML code* of any Web page
that does them. In Netscape, click on "View", then on "Source." In Lynx,
press "\". This will show the code underlying any HTML-encoded page.
Now for Dave's instructions ....
-------------------------------------------------------------------------
The VAX6610 has a "World Wide Web" server system. This makes it possible
to create your own WWW home page in your account. This document describes
how set it up, how to access it with a browser (such as LYNX on the VAX,
Mosaic, or Netscape), and lists restrictions for its use.
Up front notices:
* you can only create WWW pages in your account (you cannot use the
scratch disk)
* no additional disk quota will be granted for WWW pages (no exceptions)
* your home page may be inaccessible after the end-of-semester
shutdowns until you return and re-open it
* home pages deemed "inappropriate" by the Director of Computer Services
will be removed from the system
This document does not cover how to write a WWW document (called an "HTML"
file) but suggests places to find out how to do so. This document describes
how to make your HTML documents available on the World Wide Web.
The procedure for creating a WWW home page is as follows:
1) Make a subdirectory called WWW in your account in which to place your
HTML documents.
2) Place (or create) your HTML documents in the WWW subdirectory.
3) Protect your private files so that others cannot access what you don't
want them to.
4) Open your account so that users can get to your documents.
5) Open your WWW documents so that others can access them.
6) Let others know how to get to your "home page".
Step 1 - Make a subdirectory called WWW for your HTML documents
In order to keep things separate from your homework files, etc., and to
make it easier to protect files you don't want to share, while making files
you do want to share accessible, it is recommended that you create a
subdirectory in your account named WWW. Do so as follows:
$ SET DEFAULT SYS$LOGIN
$ CREATE/DIRECTORY [.WWW]
Executing a $ DIRECTORY command will reveal the presence of a new file in
your account called WWW.DIR;1
Step 2 - Place or create your HTML documents in the WWW subdirectory
If you have already prepared some HTML files, copy or move them to your
[.WWW] subdirectory (see a User Assistant for help on doing this if you're
not sure how).
Otherwise, create documents in the [.WWW] subdirectory. Do this by first
going to that subdirectory as follows:
$ SET DEFAULT SYS$LOGIN
$ SET DEFAULT [.WWW]
Then use your favorite VAX Editor to create documents.
An excellent way to learn how to create HTML documents is to connect to one
of the following sites via LYNX (on any terminal) or Mosaic (on VAXstations
only) to read the HTML Primer:
http://www.ncsa.uiuc.eu/demoweb/html-primer.html
http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html
For example:
$ LYNX http://www.ncsa.uiuc.edu/demoweb/html-primer.html
Step 3 - Protect your private files
It is important that you do this step carefully so that you don't
accidentally leave your account vulnerable to undesired access. The
following directions assume that you want to restrict access to your
account to NOTHING but your WWW documents.
First, CLOSE all files in your account:
$ SET DEFAULT SYS$LOGIN
$ SET PROTECTION=(G,W) [...]*.*;*
Then you should add the following line to your LOGIN.COM (create a file
called LOGIN.COM if you don't already have one) to ensure that all future
files you create will be protected by default:
The line to add:
$ SET PROTECTION=(S:RWED,O:RWED,G,W)/DEFAULT
This ensures that files you create will be CLOSED to the public
unless/until you intentionally open them.
Step 4 - Open your account so that users can get to your documents
First, open access to your WWW directory:
$ SET PROTECTION=(W:RE) WWW.DIR
Second, open access to your account (note that this command must be
repeated each semester after you re-activate your VAX account since it is
automatically re-protected at the end of each semester during the end-of-
semester shutdown):
$ SET PROTECTION=(W:RE) [-]username.DIR
where 'username' is your VAX Username (an example follows).
EXAMPLE:
$ SET PROTECTION=(W:RE) [-]KELLEY.DIR
Step 5 - Open your WWW documents so that others can access them
This step must be repeated any time you create a new document in your WWW
directory. If you have followed the steps above correctly, by default,
users will be locked-out of any files you create. The following commands
will open the files in your WWW directory so that the public can use them:
$ SET DEFAULT SYS$LOGIN
$ SET PROTECTION=W:RE [.WWW]*.*;*
Step 6 - Advertise your home page
Your home page must be named WELCOME.HTML as this is what the VAX WWW
server looks for automatically when someone attempts to connect to your
directory.
Your home page's name is (assuming you have set it up in a [.WWW]
subdirectory as instructed here):
http://uhaweb.hartford.edu/username
where 'username' is your VAX Username.
You can test access to your homepage by using LYNX, Mosaic, or Netscape. On
the VAX:
$ LYNX http://uhaweb.hartford.edu/username
For example, try out my home page:
$ lynx http://uhaweb.hartford.edu/kelley
Notes
***
This is a new, experimental, unsupported, share-ware utility - it may not
be perfect - use it at your own risk!
Back to Internet
Help Page * Home Page