Note: Please do not confuse www2 with www. The latter is managed differently with policies set by PIO and the web policy group.
To be able to post documents on www2.ucsc.edu, people must have a CATS/Athena account. So the unit web administrator and any other unit web authors must have CATS accounts.
List names | Properties | Needed to allow... |
---|---|---|
unitname-admin |
|
...unit web managers to manage the unitname-www list. |
unitname-www |
|
...web authors to read and write in the unitname web directory, and to let web authors communicate easily with each other. |
Use Moira to create the unit directory file system. Enter the items in bold, accept the default values [given in square brackets] otherwise. If unitname is already taken, try unitname-www instead.
Command: 3 Add New Filesystem to Database name: unitname Changing Attributes of filesystem unitname. Filesystem's Type (AFS, ERR, FSGROUP, NFS, RVD) [NFS]: afs Filesystem's Cell [cats.ucsc.edu]: Filesystem's lockertype (? for help) [PROJECT]: www Filesystem's Pack Name [/afs/cats.ucsc.edu/www/unitname]: Filesystem's Mount Point [/cats/unitname]: Filesystem's Default Access (n, w) [w]: Comments about this Filesystem [none]: web directory for unitname Filesystem's owner (user) [jacques]: manager-username Filesystem's owners (group) [jacques]: unitname-www Automatically create this filesystem (y/n) [y]:Moira will create the directory with the appropriate permissions in the next 24 hours.
Alias /unitname /afs/cats.ucsc.edu/www/unitname/public_htmlThe unitname must match the name of the file system you created with moira (so use unitname-www if needed).
ScriptAlias /taps/cgi-bin/ /afs/cats.ucsc.edu/www/taps-www/cgi-bin/
# /usr/local/apache/bin/apachectl restart
In the directory /afs/cats.ucsc.edu/www/cstaff/adm/units, there is a file called data.all which contains information about the unit. This data is used by the search program, by the list of unit web directories, and by the mailing lists wwwadmins and www2admins.
As an example, here is the TAPS entry:
taps-unitname Transportation And Parking Services (TAPS) taps-adminname Jacob Sarasohntaps-indexfile /afs/cats.ucsc.edu/www/search/swish/taps.index taps-unitdir /afs/cats.ucsc.edu/www/taps-www/public_html taps-uniturl http://www2.ucsc.edu/taps
% make allThis will:
% make unitmailuntil there is no error.
In the search web locker, go to the directory /afs/cats.ucsc.edu/www/search/swish/, and create a unit configuration file unitname.conf. The easy way is to copy an existing one, and change the appropriate entries in several places. For example, here is the TAPS configuration file.
The index itself will be created automatically at night.