Options for Creating HTML Files
There is a great amount of flexibility in creating and editing HTML files. Since the files are simple text files, you can use any text editor that is available to you. For example, you are not forced to use a specific software package, on a specific computer, a specific operating system, which can often be the case when authoring material for a hypermedia package.
Although this flexibility gives you a lot of freedom as far as when and where you can work, it also introduces a lot of confusion as far as determining which methods are the most convenient and effective for you. There is no global best method; rather, you must discover what is the best method for you.
There are two restrictions, however, that you must be aware of when you are ready to make the files available to the web server here at Lehigh:
.html or
.htm extension.
/home/userid/public/www-data/
This is the same directory that you can access from the Network Server
using the following pathname:
/ahome/userid/public/www-data/
In summary, as long as the end result is: you have a text file, with the correct extension, in the correct place, it really does not matter how you accomplish that goal.
The following methods all describe ways that you can edit a file directly in your AFS space. You don't need to worry about uploading and downloading files, and you really don't need to worry about where to put the files, because you created and edited them in the correct directory. The files can be edited with any one of the three text editors available on our Network, Compute and AFS Servers, dte (the default editor), emacs, or vi.
/ahome/... path.
/ahome path.)
/home/userid/private, so you will need to change
directory to your public space. One way to do this is to issue the
following command:
cd ../public/www-data/
SITES at any Network Server prompt.
The following methods all describe ways to create files on other file systems or computers, then upload the files to the correct directory in your AFS account. Many people prefer to do all of their editing on a microcomputer and upload the finished product to their AFS space
.