The RCF maintains the homepage for the Department of Mathematics and Statistics for the World Wide Web. Text, images, sounds, forms, and other files you designate can be accessed by browers such as Firefox, Internet Exploer and Safari. The following will help you to create your own personal homepage.
1. The public_html DirectoryOur WWW server first seeks a file called index.html to display (which is located in your public_html directory). If the server can not find this file, then the server will display a list of all files in the public_html directory. To create index.html (and other files) use emacs or your favorite editor. The file index.html can provide links to other files that live in your public_html directory.
2. Getting Started
At the rcf1537-4,5,6 or 7% prompt, enter the following commands:
| rcf1537-4,5,6 or 7% cd | (Change to your HOME directory.) |
| rcf1537-4,5,6 or 7% mkdir public_html | (Make a directory called public_html.) |
| rcf1537-4,5,6 or 7% chmod 755 public_html | (Make your public_html directory readable and executable to everyone.) |
You now have a place on the World Wide Web. Your place is
identified by the Uniform Resource Locator
http://www.math.umass.edu/~username
where username is your departmental account user name.
To customize any html document (with bold face, text emphasis, embedded pictures, links to other documents, etc) use Hyper Text Markup Language. An excellent primer is the Beginner's Guide to HTML.
The source code for any html document on the web can be viewed and downloaded when using any browser. After you have read "Beginner's Guide to HTML" and viewed the source code of some homepages you are ready to make your own personal homepage.
The source code for this section:
<li>Hyper Text Markup Language <p> To customize any html document (with <strong>bold face</strong>, <em>text emphasis</em>, embedded pictures, links to other documents, etc) use <strong>Hyper Text MarkupLanguage</strong>. An excellent primer is the <A HREF="http://www.math.umass.edu/HTML/HTMLPrimer.html"> Beginner's Guide to HTML</a>. </p> <p> The source code for any html document on the web can be viewed and downloaded when using Netscape. Simply click on "View" then click on "Source..." and finally save the file (you can change the name of the file if you wish). After you have read "Beginner's Guide to HTML" and viewed the source code of some homepages you are ready to make your own personal homepage. </p> </li>4. Giving Access
If you want to give access to a file in your public_html
directory (abstract1.ps for example) then it must be public.
If someone tries to access a non-public file they will get an error
message ,"403 Access Forbidden". The proper permissions for most
public files in your public_html directory is
rw-r--r--. This can be accomplished by typing in the
following (when in your public_html directory),
rcf1537-4,5,6 or 7% chmod 644 abstract1.ps
Finally, to get a link from your standard departmental webpage to your personal page, use the update form.
The process of creating a course webpage is identical to the process of
creating a personal webpage, except that you should
use a different name (e.g., math411.html) for the
file. Your course webpage will then be located at
http://www.math.umass.edu/~username/math411.html
for example. To get a link from your standard departmental webpage to your
course page, use the
update form.
| Return to front |