This set up is meant for three things:

I) A Wiki
II) Hardlinks for download
III) Calendar


I) Wiki

This assumes your root installation is here:

/u/k/a/karu/public/html/courses/cs252

Step 1: Go to file wiki/local/config.php

### Edit $WikiTitle
### Edit $UploadDir
### Edit $UploadUrlFmt
### Edit $FmtPV to point to appropriate top-level URL; you can using this variable for putting up hard download links; Assuming the above root, this would be
http://pages.cs.wisc.edu/~karu/courses/cs252/
### Retain the " and ' quote like in the example

Step 2: Access setup:

Go to directory:

wiki/local

a) Create user account for the ta:

prompt> htpasswd -d .htpasswd <ta-login>

b) Edit .htgroup and add that user name read, edit, and admin group

c) Change login for the student user. Their default user name is arch always. Reset the password.

prompt> htpasswd -d .htpasswd arch

Step 3: Permissions

prompt> cd wiki/wiki.d
prompt> fs setacl . host:www write

II) Hard links for download

Step 3: Setting up restricted download;

Put all your restricted downloads here:

a) handouts/restricted

b) Go to that directory and create a file caled .htaccess with the following content (it will already be there; just edit the link to the .htpasswd file to the one created in Step 2). 

AuthUserFile /u/k/a/karu/public/html/courses/template3/wiki/local/.htpasswd
AuthGroupFile /dev/null
AuthName UserName
AuthType Basic

require user arch markhill ta0

c) Suppose you want to link to lecture-1.pdf in a wiki page; do the following

[[{$urlbase}/handouts/lecture/lecture-1.pdf|pdf of lecture]]

III) Calendar

a) Edit calendar/create-table.pl and set baseurl appropriately
   (I know this is redundant with $urlbase in Step-I, but bear with me)

b) Modify the calendar using excel; Save in .csv format (Tab separated)
   Also save the original xls file
 
c) Go to unix prompt and run; ./run-all.sh


