Columbia University does not sponsor, review or monitor the contents of the personal home pages of its faculty, students or staff on World Wide Web sites using University facilities, nor does the University endorse the contents of any such personal home pages.
To create pages for viewing on the Web, you need to do four things:
More detailed information on each of these steps follows.
$ chmod a+x ~ $ mkdir ~/public_html $ chmod a+rx ~/public_htmlThe above commands make your home directory (referred to as ~) world searchable, create a public_html directory under your home directory, and then make the public_html directory world readable and world searchable.
Setting up your directory in this fashion means that other users can see the filenames in your public_html directory. Or, if you prefer, you can restrict access so that the list of filenames in your directory is not visible to other users. The files are still visible to any user that knows the filename. You can restrict access to your filenames by omitting the "r" from the third command above:
$ chmod a+x ~/public_html
You can use any editor you like to create the text of your HTML pages. For example, on the CUNIX Cluster, you may use either pico or emacs. If you plan to use your microcomputer to create your HTML files and upload them to your CUNIX account later, make sure that you have your editor save files as plain ASCII text.
When saving HTML files, do not use any spaces in the file names, and put .html at the end of each document name. For example, your personal home page would normally be called index.html. If you are working on a microcomputer on which you can't create a file name ending in .html, make sure to rename your files appropriately after uploading them to your CUNIX account.
When you have finished formatting your documents, you may check them by launching a Web browser such as Netscape and using the Open File command on Netscape's File menu. This will allow you to view your pages and adjust their look and content before making them publicly available. If you are working from a microcomputer, you can test your documents before uploading them to your CUNIX account, assuming you have a copy of Netscape installed on your microcomputer.
For example, if you have created a file called index.html in your home directory, or have uploaded it to your home directory, and now want to make it accessible from the Web, type the following commands to move the file in to your public_html directory and make it world-readable:
$ mv ~/index.html ~/public_html/index.html $ chmod a+r ~/public_html/index.html