How to set up a web site on your cpsc account

Full instructions from the cpsc support staff can be found here. Here's my quick and dirty way:
  1. Allow the web server to access your home directory: chmod 711 ~
  2. Create a standard directory where all of your web content will be found: mkdir ~/www
  3. Set permissions so that web server can access it: chmod 711 ~/www
  4. Put your content in the www directory (i.e., html pages, jpg files, etc).
  5. Make sure that content is accessible to the webserver (make sure it has file permissions of at least rw-r--r--). Use chmod to fix this if necessary.
  6. Try accessing it by browsing to http://pages.cpsc.ucalgary.ca/~yourusername/filename
And that should be it.