Publishing HTML DocumentsThis requires that a server be up and running on your computer system. For the purposes of this class we will use whatever free server space we can scrounge up.
Step One: Moving the file into the correct directory. One of the features of a HTTP server is that it can be limited to only a well-defined portion of the file system. This is called the DocumentRoot. It is a directory on the server which will retrieve the HTML documents for client requests. If a document is not in this directory, or one of its subdirectories, the server will not be able to retrieve it for network clients. Your user will get a message stating "FILE NOT FOUND."
Any document to be served through your server, must be readable by the server. In general, this means that it must be world readable. This includes pictures, sounds, movies, text, and html source files. All subdirectories that the server must search to retrieve these documents must be readable and executable by the server as well. However, write permission is never necessary. You should never grant write permission for anybody but those who have a legitimate reason to modify your source files.