CS 29
Mar. 20, 1997
Your Web pages will be ``published'' to the web server on unix1. There are two steps involved. The first step is creating the directory on unix1 where your HTML, GIF, and JPEG files will be stored. This step is only done once. The second step is transferring your files from your folder on your N: drive to the server. This is done each time you want to make changes to you pages.
You only do this once.
mkdir wwwdocs
.
chmod go+rx . wwwdocs
.
ls -ld . wwwdocs
. You should see something
similar to:
[3] % ls -ld . wwwdocs drwxr-xr-x 6 kelliher student 1024 Mar 18 12:22 . drwxr-xr-x 2 kelliher student 1024 Mar 18 12:58 wwwdocsWhat matters here is the first string of the output, drwxr-xr-x. If that doesn't look right, call me over.
You need to follow these instructions each time you want to update your pages.
Before starting an editing session in Navigator, do the following:
ftp://unix1.psych/users/<YourUserName>/wwwdocs/
. For example, I set
mine to ftp://unix1.psych/users/kelliher/wwwdocs/
.
Before publishing your HTML files, I want you to check something. Open
each Web page you've created which has images in it. Right-click the mouse
button on each image and choose Image Properties. If the Image
Filename starts with file://N|/web/
, your images will be
``broken'' on the server. Remove that ``junk'' at the beginning of each
filename so that you're left with nothing but football.gif, for
example.
Here's how to publish the files you've created so far:
Your Internet URL will be:
http://unix1.psych.westminster.edu/~<YourUserName>/(E.g.,
http://unix1.psych.westminster.edu/~kelliher/
.)
On campus, you can leave out the .westminster.edu . Using the
browser, test your pages by ``surfing'' to your URL.