Steps when a new (undergrad) course is created. eg new course: CSC373 Step 1: Get the course name & number according to the calendar Go to http://www.artsandscience.utoronto.ca/ofr/calendar/crs_csc.htm (or wherever Arts&Sci lists CSC courses) to get the name of the course. => CSC373H1 Algorithm Design & Analysis Step 2: Update selection list in courseupdate cgi form Connect via ssh client (eg. PuTTY) to www.cs.toronto.edu cd to /export/www/http/cgi-bin/ and edit courseupdate => christie.cs% cd /export/www/http/cgi-bin/ => christie.cs% pico -wz courseupdate Add the array entry between single quotes, don't forget the comma as it's part of a list => 'CSC373H Algorithm Design & Analysis' , Save & check http://www.cs.toronto.edu/cgi-bin/courseupdate to make sure it works. (You can provide the new url if known) Step 3: Edit /cs/htdocs/DCS/Undergrad/Courses/current.html Working on live copy (eg pico -wz /cs/htdocs/DCS/Undergrad/Courses/current.html ) or view & Save As.. and use a Windows editor. Use http://www.cs.toronto.edu/~csc373h as the url for the new course. =>
  • CSC 373h => Algorithm Design & Analysis
  • Check in changes with rcs at a unix prompt. => qew.cs% ci /cs/htdocs/DCS/Undergrad/Courses/current.html View page http://www.cs.toronto.edu/DCS/Undergrad/Courses/current.html Step 4: Create the redirect The new urls deposited through http://www.cs.toronto.edu/cgi-bin/courseupdate are mailed to www@cs regularly. Edit the file that controls the redirects: => qew.cs% pico -wz /cs/htuser/.htaccess Redirect /~csc373h http://www.cs.utoronto.ca/~fpitt/20051/CSC373/