SLAC 18 Jul 1998
www.slac.stanford.edu. Production pages are ones that are at least moderately polished to be shared across groups for some at least moderately long time. See Web Definitions. You should also look at WWW Policy and Resources and its subsidiary pages, along with the SLAC AFS Users' Guide.
For information about developing and installing production pages on a Windows NT
WWW Policy and Resources, especially the FrontPage links.
Then contact the Web Information Manager via the mailing list,
A quick, no-frills way to provide information is to
place pre-existing plain-text, Postscript, or even PDF documents in your WWW
or its subdirectories. (See the
for obtaining a
If the server
doesn't find a file called
index.html in your
groupcode directory, it
will display a navigable list of all the files it finds there.
For example, here's what's currently in the
Accelerator Department's directory.
If, on the other hand, you'd like to give your pages a more Web-like look and feel, create regular Web pages using the HTML formatting language. Usually, you will want to create a main or "home" page for your group:
Then you need to send email to
to obtain production AFS WWW disk space
for your group's pages.
The space will be usually be named
where the last part,
groupcode, is your
group's code, e.g.,
You should let
www-admin know who should be authorized to write
into this and any subdirectories your group establishes
and who should be able to control that list.
For backup, provide at least two usernames.
If you expect to install files that total more than 5 Megabytes, let
www-admin know that, too, for space planning purposes.
If you do, you will generally be allocated space on your own AFS volume.
www-admin will setup two AFS privilege groups and
their initial membership and associate them with your space via its
Access Control List
These groups are
g-www:g-groupcode is the AFS group of usernames that
may write into your group's directory(ies) and
g-www:owner-g-groupcode is the AFS group of usernames that
may change the names in
From your group's directory,
fs listacl command to see what groups are in your ACL.
pts member groupcode command to see who's in
a particular AFS group in your ACL, e.g.,
pts member g-www:g-ad.
fs listquota command to see what AFS volume you are on and
how much of its space is used.
(The main volume currently shared by those with small space requirements is
To start learning about managing AFS Web space, see "Introduction to AFS Duties and Powers of WWW Space Owners." For more aspects of AFS, check out "AFS Information."
Once your group's directory is set up, login to the SLAC UNIX system and put your home page and the other documents you choose into this Web directory. Or you may create subdirectories and put documents there.
mkdir command to create the subdirectories.
For example, to create a new subdirectory
addo for group
cd /afs/slac/www/grp/ad pwd mkdir addo ls -l
If you want WWW access to the documents to be restricted only to those logged
in to the
SLAC domain (actually IP number 134.79), put the files in a subdirectory named
But see AFS Considerations below.
Your group's home page can now be accessed with the
where homepage is usually
Or if you do not have a specific home page,
you may access a list of all the files in your group's home directory
with the URL,
if you lack a file named
To understand more about the naming conventions and other aspects of WWW space at SLAC, read the document, "WWW URL and File Naming Scheme".
By default, your AFS directory at SLAC and any of its subdirectories are set up so that (a) anyone at SLAC and (b) anyone in the world who is authenticated to AFS within the SLAC cell can:
cat, or other system command.
This means that by default the files are not readable by anyone in the world with AFS privileges.
Files restricted in WWW to people logged on to a host
in the SLAC domain
(actually to an IP address beginning with 134.79)
are readable, not only to anyone at SLAC, but also
to anyone in the world authenticated to the SLAC AFS cell.
The files may even be displayed through Web browsers by using a
file: (rather than
To specify the URL for your group directory,
For example, if you want to provide a link to the file
/grp/ad/AD.html for the URL.
If you want to link to another file in the same directory as, say, your group's home
page, use a format like
substituting your specific file name.
For more information on relative URL, check out the source for a page like "SLAC WWW Resources." Or take a look at the Internet standards document, RFC 1808.
If you are on a Mac:
Fetch. It has online help.
establish a connection with UNIX, use the hostname
as documented in
Public Machines at SLAC
and set the directory to
E.g., if your
ad, then set the directory to:
Make sure your token is still valid.
Then use the
Fetch Put function to get the file from the Mac and put it into the
UNIX AFS directory.
Tailoring Your Mac for SLAC
for information on how to obtain the
.gifrequires changing the
Fetchdefaults. Make sure you select
raw datafor the format.
At the other end of the spectrum, you may also create pages of interest to yourself and
a few colleagues.
If you work on UNIX and especially if these are test versions or transient pages,
you should put them in a subdirectory named
public_html under your home
Joan Winters, Les Cottrell