Setting up Web pages
Setting up a Web pageClickable Images
WS_FTP95
Setting up a Web page
This document doesn't teach you HTML, but it helps you set up World-Wide Web Pages using your account on an AIX machine (AIX1, AIX2), here, at the University of Ottawa
Once logged in, create a directory in your home directory where you'll store all the information to be put up on the Web:
[Go to your home directory]
$ cd
[Make sure that users can change to your home directory]
$ chmod 755 ~
[Create the "public_html" directory]
$ mkdir public_html
[Give Web surfers the right to see this directory]
$ chmod 755 public_html
[Go to this new directory]
$ cd public_html
- Create your "Home Page" by using a text editor. "index.html" is the name that you should give to the first Web page surfers will see. Pico is a good editor for this.
$ pico index.html
Note: UNIX is case-sensitive. This means that upper- and lower-case letters are treated differently. When you specify a link (URL) to a document in your HTML code, make sure that upper- and lower-case letters are correct. - You may create other Web pages in this directory. Use the same command as above. You can use any name that you want, as long as it has ".html" at the end.
- For the Web surfers to be able to "see" (read) your files, run the following command for each file (replace "index.html" with the name of each file):
$ chmod 644 index.html
or, if you want to do it for all your ".html" files at once:
$ chmod 644 *.html
Run this "chmod 644" command for your image files as well, if you have any. - That's it!
If you have an account on AIX1:
http://aix1.uottawa.ca/~userid/
If you have an account on AIX2:
http://aix2.uottawa.ca/~userid/
Have fun!
Clickable images
Clickable images (or imagemaps) allow Web surfers to click on certain areas of an image to retrieve different Web documents, depending on where the surfer has clicked.This feature is possible through the use of a map file, and the <IMG SRC="..." ISMAP> code in the HTML document.
You can manually create the map file, but a number of tools are available such as mapedit that can assist in this complex task. Check Yahoo's Imagemap Directory for a list of some of these tools. In the HTML document, insert the following code:
<A HREF="/cgi-bin/imagemap/~userid/map">
<IMG SRC="image" ISMAP></A>
where userid is your AIX userid, map is the filename of the map file, and image is the filename of the image file.
That's it!