public_htmldirectory in your home directory (how?), and a
index.htmlfile (how?) in this directory, that will be your home page. This directory and all web files whould be world readable. If your login name is harish, your home page URL is
Once you have setup your web page, you should register it in pedit.
If your home page is not on Xenon, the above address can still be
used with the
Redirect directive: Create a world readable
.htaccess file in your
directory, and put just one line:
Redirect /~harish/ http://theory.stanford.edu/~harish/
Xenon.stanford.edu can still be used, but
probably the one above is more standard
public_htmldirectory which contains the documents that they wish to make available on the web.
Note that public_html directory and all the documents in it must be world readable.
The cookbook steps you need to complete are:
chmod 711 ~/public_html
Note that your home directory must be readable as well, otherwise the subdirectory is inaccessible.
cp ~www/templates/simpleindex.html ~/public_html/index.html chmod a+rx ~/public_html/index.htmlNote that the files in the public_html directory must be readable as well. If you are getting 403 FORBIDDEN messages when trying to access your new page through a web browser, then your file is not readable by the server, or the directory it is in is not searchable (no read/execute bit set) by the server.
If you know HTML well enough, choose these four fast configuration steps to get you started writing HTML using Emacs's HTML mode.
If you are really interested, the gory details of how documents are served through the web is summarised for you.
(Last update: October 2, 1997)