How the website works

The UGCS webpage is pulled from the Website: namespace of this wiki. A script on poseidon (/usr/local/sbin/wiki-pull) converts the wiki pages into web pages. The data goes into /afs/.ugcs/public/www/content, and the script /afs/.ugcs/public/www/content.php interprets them and forms the actual website. An apace rewrite rule turns the url (www/Page.xhtml) into a request for the appropriate wiki page. The script also pulls the Documentation: website to www/documentation/

The wiki-pull script calls a php script that Liz wrote a while ago. It automatically turns the intra-wiki links into html links. However, you'll have to give each link a name in the wiki- otherwise you'll get the Website: tag in the link and it'll be ugly.

You also have to give each page a title with =Title=- this gets turned into the page title

Brief overview (might make more sense than above)
 * 1) Edit a wiki page in the Website: namespace
 * 2) wiki-pull gets called and turns the database into the main page in /afs/.ugcs/public/www/content/xhtml/Pagename.inc and the title to www/content/Pagename.title (once an hour)
 * 3) A script on apollo calls `vos release public.www` so the read-only copy gets updated
 * 4) When you request www.ugcs.caltech.edu/Pagename.xhtml, it gets rewritten to www.ugcs.caltech.edu/content.php?name=Pagename.  This script includes the appropriate templates, title, and page content.