Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Nevis Web Setup Guide | ||||||||
Line: 30 to 30 | ||||||||
cp ~seligman/WWW/sample.html . | ||||||||
Changed: | ||||||||
< < | Edit these files with your favorite text editor. Emacs![]() | |||||||
> > | Edit these files with your favorite text editor. Emacs![]() | |||||||
ends in ".html". If you type C-h m while editing an HTML file, you'll see a description of the special features of this mode. (On the Mac, I used the free version of BBedit![]() Viewing your web pages | ||||||||
Line: 39 to 39 | ||||||||
HTML files. For example, after you've copied template.html to your area, you can
see how it looks by telling your browser to look at the URL: | ||||||||
Changed: | ||||||||
< < | http://www.nevis.columbia.edu/~jsmith/template.html![]() | |||||||
> > | https://www.nevis.columbia.edu/~jsmith/template.html![]() | |||||||
assuming that your login ID is jsmith. Note that you do not type in | ||||||||
Line: 62 to 62 | ||||||||
If you do so, then you can omit the file name when you tell other people the URL of your home page: | ||||||||
Changed: | ||||||||
< < | http://www.nevis.columbia.edu/~jsmith/![]() | |||||||
> > | https://www.nevis.columbia.edu/~jsmith/![]() | |||||||
If you're having problems creating or changing your web pages, check out the | ||||||||
Line: 85 to 85 | ||||||||
Note that there's no policy or requirement that your page be in the same style as the Nevis web site. Feel free to define your own styles, write your own server-side includes![]() ![]() Other examples | ||||||||
Changed: | ||||||||
< < | The files template.html and sample.html are very basic (and somewhat facetious) examples of how to set up a home page. For other examples, look at the home pages of some the Nevis faculty, such as Bill Zajc![]() | |||||||
> > | The files template.html and sample.html are very basic (and somewhat facetious) examples of how to set up a home page. For other examples, look at the home pages of some the Nevis faculty, such as Bill Zajc![]() | |||||||
cp ~zajc/WWW/index.html ~/WWW/zajc.html | ||||||||
Line: 107 to 107 | ||||||||
Let the sysadmin knowAfter you've set up your web site, be sure to tell the | ||||||||
Changed: | ||||||||
< < | webmaster![]() ![]() | |||||||
> > | webmaster![]() ![]() | |||||||
Obfuscate e-mail addressesIt's a bad idea to include your e-mail address directly as part of your web site. | ||||||||
Line: 124 to 124 | ||||||||
Instead, use this:
Send e-mail to | ||||||||
Changed: | ||||||||
< < | John Smith | |||||||
> > | John Smith | |||||||
On your web page, this will look like: "Send e-mail to | ||||||||
Changed: | ||||||||
< < | John Smith![]() | |||||||
> > | John Smith![]() | |||||||
If you click on this link, it will display a warning page stating that the e-mail address is not to
be used for advertising. Also, your e-mail address is less likely to be picked up by an
automated program.
man pages | ||||||||
Changed: | ||||||||
< < | Any Nevis man![]() ![]() | |||||||
> > | Any Nevis man![]() ![]() | |||||||
Changed: | ||||||||
< < | ls | |||||||
> > | ls | |||||||
This can be handy if you're writing a set of instructions to your students on how to do something in UNIX. Note that this only works for man pages that are available on the web server. | ||||||||
Line: 185 to 185 | ||||||||
-rw-r--r-- 1 jsmith collab 5749 May 30 17:35 stuff.html | ||||||||
Changed: | ||||||||
< < | The URL for stuff.html would be http://www.nevis.columbia.edu/~jsmith/descript/stuff.html . | |||||||
> > | The URL for stuff.html would be https://www.nevis.columbia.edu/~jsmith/descript/stuff.html . | |||||||
In this situation, although the Web browser can display index.html and even display the contents of folder "descript", it will return an error when trying to access descript/stuff.html. This problem can be fixed as follows: | ||||||||
Line: 213 to 213 | ||||||||
The trick is to set up a .htaccess file in the directory that you wish to be protected and a .htpasswd file in some other directory. You can find instructions here![]() | ||||||||
Changed: | ||||||||
< < | It's possible that the htpasswd![]() | |||||||
> > | It's possible that the htpasswd![]() | |||||||
Also, as you create your .htaccess file, bear in mind that your home directory is not in /home ; it's your home directory as seen by the Linux cluster. Use the command: |