Get Ready
To be able to see your files, you need to assign the correct permission
set to let the Web server get access to them, just as you earlier
assigned a permission set to your home and public_html directories.
In SSH Secure Shell Client, change directories into the public_html
directory you created. Look at the permission set for your index.html
file. It will look something like:
-rw------- 1 byrne users 517 Sep 19 15:02 index.html
Change permissions to -rw-r--r-- using the chmod command.
You have probably uploaded one or more image files as well. Be
certain to change their permissions, as well.
Hint: you can set all permissions for all files within
a directory by substituting * for the filename.
Take a Look
Check your success by viewing your page using a browser. Recall
that the web server, serine, is configured to look into your public_html
directory already. The URL you will use to view your files is
http://serine.umdnj.edu/~username
..substituting your account name for username, of course! The symbol
before username is called a "tilde" and is found on the
upper left of most keyboards. Apache is configured to look for a
file called EXACTLY index.html in your public_html directory, so
you need not include the name of the file in your URL.
Try it out. If it doesn't work check the following
- permissions associated with the directory listing of your home
directrory, /home/username
- permissions associated with public_html directory
- permissions associated with index.html or image files called
by your homepage
- name and extension given to your home page
- UNIX is case-sensitive. YOU should be, too!
[ Previous: Publish | Next: Dyanmic
Pages ]
Page last edited February 7, 2006
|