Internet application protocols - course segment description.
This course was stopped in 2008.

Work task until and including 1999

Note: This work task is from the year 2000 replaced by an XML task. Students enrolled in the course before 2000 can do the old task instead of the new task.
  1. Write a personal welcome page about yourself in the World Wide Web. The file name should be Welcome.html and the file must be in a directory with the name WWW (NOTE: capital letters, WWW, not www) on your personal unix account. It is nice if you can include a picture of yourself or some other graphics in your welcome page.
  2. In order for the DSV web server to be able to access your web pages, the directory WWW must have a protection code which allows searching, i.e. "drwxr-xr-x", and the files on that directory must have a protection code which allows reading, i.e. "-rw-r--r--".
  3. The Unix commands to do this are:
  4.  
    1. mkdir WWW
    2. if you have no such directory already
    3. chmod o+rx WWW
    4. to set the protection code of the WWW directory
    5. cd WWW
    6. to move to the WWW directory
  5. After you have put the Welcome.html file there, give the Unix command:
    1. chmod o+r *
    2. to set the protection of this file
  6.  
  7. You can check the protection of a file with the Unix command
  8. ls -l -a <file name>
  9.  
  10. If you use ftp to access your account, there are commands in ftp to do the same things, the commands will differ depending on which ftp client you use. With the FTP client I use, Fetch on a Macintosh, the command is called "Set Permissions..." in the Pull-down menu named "Remote".
  11. If the welcome page refers to other pages, which you have made yourself, these pages should also be in the directory WWW or in subdirectories to that directory. Anyone will then be able to access the files from the WWW, using the URL: HTTP://www.dsv.su.se/~<your login name>/<name of the file>. Your welcome page can be reached with the URL: http://www.dsv.su.se/~<your login name>.
  12. Test your welcome page and other HTML files, which you have produced, using a tool for testing web page validity, like the program weblint or the server
  13. http://ugweb.cs.ualberta.ca/~gerald/validate/, and correct any errors found by this software. See URL http://ugweb.cs.ualberta.ca/~gerald/validate/ http://ugweb.cs.ualberta.ca/~gerald/validate/ for more information about web page testing. weblint can be run on DSV unix computers with the command "weblint "<file name>" or "weblint <file name> | more".
  14. There will not be any supervision during the allocated lab times. If you have problems, you are welcome to contact me by phone or e-mail or after the lectures, or come to my office room (but I am seldom there). Fredrik Kilander can also help you if you have problems.
  15. You may, if you so wish, post the URL of your welcome page to the course mailing list in order to get comments on your page design from other course participants. To other participants: Do not only be critical, also please note what you like in the web pages produced by other course participants.
    1. Print your welcome page on paper and give it to Jacob Palme or put it in the box for "inlämningsuppgifter", together with the URL of the welcome page and a printout from a program such as weblint or http://ugweb.cs.ualberta.ca/~gerald/validate/
    2. on your web page. If these programs report errors in your web pages, this is acceptable if you explain the reason for the errors (for example that you use non-standard techniques like frames.)