|
|
|
|
|
Problems Viewing Your Pages or Images
If you are getting an error that
you are Forbidden to access
your homepage, you may need to change the permissions of your files or
directories.
At the lennon% or zimmer% prompt, type the following commands:
chmod 711 ~ (and press <ENTER>/<RETURN>)
chmod 711 ~/public_html (and press <ENTER>/<RETURN>)
chmod 644 ~/public_html/* (and press <ENTER>/<RETURN>)
If you are getting an error that your homepage contains no data, you may
need to change the name of your homepage.
At the lennon% or zimmer% prompt, type the following command:
cd ~/public_html (and press <ENTER>/<RETURN>)
ls -al (and press <ENTER>/<RETURN>)
Look in the right column for the filename default.html. If your homepage
is not named default.html, note the name of your homepage and type the
following command:
mv OLDHOMEPAGENAME default.html (and press <ENTER>/<RETURN>)
where OLDHOMEPAGENAME is the name of your current homepage.
If an image on your homepage is not being displayed properly, you may
need to
change the name of the image file OR edit your page to direct the web
browser to the correct filename.
Changing the name of the image file.
- View your page.
- In Netscape, pull down the View menu and select Document Source.
- Find the link to the broken image in the document source. Note the name of the
image file.
Please note: The UNIX system is case sensitive so be sure that you note
the EXACT filename, including upper and lowercase letters.
- At the lennon% or zimmer% prompt, type the following commands:
- cd ~/public_html (and press <ENTER>/<RETURN>)
- ls -al (and press <ENTER>/<RETURN>)
- Look in the right column for the image filename. If there is a
difference between the two filenames, you need to change the name of the
image
file. At the lennon% or zimmer% prompt, type the following command:
- mv OLDIMAGEFILENAME NEWIMAGEFILENAME (and press <ENTER>/<RETURN>)
where OLDIMAGEFILENAME is the current name and NEWIMAGEFILENAME is the
correct filename from the document source.
Editing your document source:
Changing the name of the image file.
- At the lennon% or zimmer% prompt, type the following commands:
- cd ~/public_html (and press <ENTER>/<RETURN>)
- ls -al (and press <ENTER>/<RETURN>)
- Look in the right column for your homepage filename. This should be
default.html.
At the lennon% or zimmer% prompt, type the following command:
- pico HOMEPAGEFILENAME (and press <ENTER>/<RETURN>)
- Using your arrow keys, move your cursor to the image link.
- Correct the image filename.
- Hold the <CONTROL> key and press the <X> to exit the
editor.
- Press <Y> to confirm saving changes.
- Press <ENTER>/<RETURN> to accept the filename.
If you are still experiencing difficulty viewing your web pages or
images, please contact the Help Desk via telephone at
278-1111 extension 2; via email at help@csufresno.edu or via the World
Wide Web at http://www.csufresno.edu/ITS/wo.html
Copyright 2000. Central Valley Online.
Send Comments to Central Valley
Online
|
|
|