Instructions on Making a home page on the ITC RS/6000s These instructions cover how to set up a home page on the ITC RS/6000s. They do NOT cover ANY HTML. For help with HTML, see http://www.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimer.html or gwis: Computing and Communications Software, System and Network Mosaic The httpd (the program that makes it possible for Mosaic to connect to the machine) runs on most of the ITC RS/6000s. They are currently all configured to allow individual users to provide (or "serve") html documents of their choosing. They do NOT, however, allow users to make use of clickable image maps, nor forms. The availability of such a service is not a right. There is no policy statement yet concerning the creation of home pages for individuals, so currently the resources determine the policy. Since the ability exists, you may create a home page. A policy concerning the creation of pages may come into effect at a later date. Assume that you have created a file called me.html. Unlike most things in unix, the suffix of files that are being servered by an httpd ARE important. If you would like to share a text file, that you have NOT marked up in html, name the file something.txt. If, on the other hand, it is marked up, name the file something.html. *create a subdirectory of your home directory called "public_html" *make sure that your home directory and the public_html directory are executable by "other" *make sure that the file(s) that you want to serve are readable by "other" *move the file(s) that you want to serve into the directory called public_html *choose the file that you want to be your home page. Change its name to "home.html" Assuming that I am user mst3k on machine darwin.clas, then the URL to the file home.html is: http://darwin.clas.virginia.edu/~mst3k/ The following example shows the above instructions in more detail. Again, the user here is mst3k, and the machine is darwin.clas Things in double brackets <<>> are markers for the comments below. darwin: /home/mst3k $ ls Mail/ bin/ cron/ other.html troff/ News/ classes/ me.html pub/ darwin: /home/mst3k $ mkdir public_html darwin: /home/mst3k $ ls Mail/ bin/ cron/ other.html public_html/ News/ classes/ me.html pub/ troff/ darwin: /home/mst3k $ ls -ld . public_html <<1>> drwx------ 20 mst3k usr 1024 Jul 4 00:30 ./ drwx------ 3 mst3k usr 512 Aug 32 12:59 public_html/ darwin: /home/mst3k $ chmod +x . public_html <<2>> darwin: /home/mst3k $ ls -ld . public_html drwx--x--x 20 mst3k usr 1024 Jul 4 00:30 ./ drwx--x--x 3 mst3k usr 512 Aug 32 12:59 public_html/ <<3>> darwin: /home/mst3k $ mv *.html public_html darwin: /home/mst3k $ ls Mail/ bin/ cron/ public_html/ News/ classes/ pub/ troff/ darwin: /home/mst3k $ cd public_html darwin: /home/mst3k/public_html $ ls me.html other.html darwin: /home/mst3k/public_html $ ls -l -rw------- 1 mst3k usr 152 Sep 0 23:62 me.html -rw------- 1 mst3k usr 152 Sep 0 24:02 other.html darwin: /home/mst3k/public_html $ chmod +r * <<4>> darwin: /home/mst3k/public_html $ ls -l -rw-r--r-- 1 mst3k usr 152 Sep 0 23:62 me.html -rw-r--r-- 1 mst3k usr 152 Sep 0 24:02 other.html darwin: /home/mst3k/public_html $ mv me.html home.html darwin: /home/mst3k/public_html $ ls home.html other.html darwin: /home/mst3k/public_html $ You now have a home page (the one called home.html) and the url is: http://darwin.clas.virginia.edu/~mst3k/ You also have an other page. The URL to that page is: http://darwin.clas.virginia.edu/~mst3k/other.html NOTES: <<1>> ls -ld . public_html ls = list directory -l = long listing (shows permissions) . = of the current directory (/home/mst3k) public_html = and the public_html directory <<2>> chmod +x . public_html chmod = change mode (permissions) + = add the permission x = to execute (for everybody) <<3>> Notice the new 'x's over to the left. The change has taken effect. <<4>> chmod +r * chmod + = (same as in <<2>>) r = to read the file