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.
- 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.
- 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--".
- The Unix commands to do this are:
-
- mkdir WWW
- if you have no such directory already
- chmod o+rx WWW
- to set the protection code of the WWW directory
- cd WWW
- to move to the WWW directory
- After you have put the Welcome.html file there, give the Unix
command:
- chmod o+r *
- to set the protection of this file
-
- You can check the protection of a file with the Unix command
- ls -l -a <file name>
-
- 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".
- 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>.
- 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
- 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".
- 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.
- 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.
- 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/
- 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.)