http://technology.niagarac.on.ca/
Our URL is also aliased to http://www.technology.niagarac.on.ca/
Another avenue is to use HTML or web page editor software. You can use commerical software such as Microsoft Front Page 98, or Claris Home Page, or obtain shareware/freeware from the Web. A good place to find such software is Tucows.
Finally, learn the HTML language and write your pages by hand, using your favorite text editor, such as Brief, Windows Notepad, vi or emacs. This method gives you the most control over the structure of your pages, and can be combined with any or all of the previously described approaches.
An inexpensive book from which to learn HTML is Writing Web Pages by Maria Canham. It is available in the College Bookstore and provides a solid overview of web page construction, including the use of multimedia.
Finally, using any of the above methods, you do not have to write your pages from scratch everytime. Since HTML documents on the World Wide Web are publicly accessible, you can find a page whose structure you like, and save it as HTML. (For example, in Netscape Navigator, click on the File menu and select "Save As". The current page will be saved as a text file containing the HTML code. The same can be done with graphics, by clicking the right mouse buttton and selecting "Save Image As").
HTML templates, samples, and other useful documents are provided on our web site at
http://technology.niagarac.on.ca/public/samples/
http://technology.niagarac.on.ca/public/toolkit/start.htm
The second approach is to obtain your own user account on the server. Then you can use standard Internet applications, such as telnet and ftp, to maintain your own page(s). Accounts are created and maintained by the Webmaster. It is hoped that, eventually, every faculty and staff member will use his or her account.
The Webmaster will ensure that hyperlinks within our site are properly constructed. It is each page author's responsibility to ensure that hyperlinks local to the page or to external sites are functioning properly. Web page content is also the responsibility of the respective author. The Webmaster will not preview, censor, correct spelling or grammar, or otherwise control content.
Upon installation of a new page, a link will be added to the What's New page:
http://technology.niagarac.on.ca/whatsnew.html
It is important to note that our site is also an experimental one. As such, the underlying hardware and software will, from time to time, change. View the About This Site link:
http://technology.niagarac.on.ca/about.html
for information about the current state of things.
In fact, to improve server accessibility, maintainability, and reliability, we have been running FreeBSD, a free implementation of the Unix operating system, and to Apache web server software (also free), the most popular server software on the Internet.
top-level-directory (/usr/wwwhome) | +-----------+---------+-------+--------+---------+---------+ | | | | | | | cgi-bin/ index.html images/ public/ people/ courses/ students/ | about.html | | | | | | ... niagarac.gif | | * index.html CGI applications powered.gif | | (see below) + directories (e.g., access counter, ... | | for each student image mapper, bulletin | | board applications, etc.) | | | | +--------------+--------------+ +---------+--------+-------+ ... | | | | | | | index.html images/ video/ index.html images/ mboldin/ jclark/ programs.html | | | | | cotech.html blueball.gif micro.avi world.jpg | ... video.html intro.jpg nc160.mov button-h.gif | ... ... ... ... | | +----------+-----------+----+ | | | index.html images/ faq/ guitar.html | | ... MB.gif misc-fitness-faq.txt fractal-line.gif powerlifting.html ... ...
courses/ | +--+-------+---------+----------------+-------------------+ ... | | | | | index.html images/ comp530/ comp641/ elnc645/ | | | ... button-h.gif | +---------+--+--------------+ ... ... | | | | | index.html images c +--------------+-----+ pos.tar.gz | | | | jargon.zip winsock.gif pipe.c index.html images claremont.pdf portmapper.jpg pipetest.c picprog.zip | onc-rpc.html button-h.gif ... test.asm bar.gif unzip.exe ... brbuddy.htm brbuddy.jpg ... adc0831.doc brbuddy2.jpg ... ...As you can see, each "page" is in its own directory, with index.html (the main page), sub-pages, an images directory, and other related files and/or directories. Only index.html is mandatory; the images directory is strongly recommended.
http://machinename.domainname/some-directory/
to be used. For example, with index.html the URL for Mike Boldin's directory is:
http://technology.niagarac.on.ca/people/mboldin/
If index.html was not present in Mike's directory, using the above URL would cause the server to return Error 403 (Access denied) to the browser. However, the guitar.html file could still be accessed with by specifying its full URL:
http://technology.niagarac.on.ca/people/mboldin/guitar.html
The default document name can be anything; index.html is probably the most common, and it is what we have chosen to use.
Note: unlike those on MS-DOS or Windows 95/NT, Unix filesystems are truly case-sensitive. That is, index.html and INDEX.HTML are treated as two distinct filenames.
A good rule of thumb to follow is to use unique filenames, and use the proper spelling of filenames (with regard to case) in your HTML code. For example, if the name of a graphics file is myValuableFace.gif, the HTML code to display this file should be:
<img src="images/myValuableFace.gif">
Try to avoid using spaces in your filenames. Not all browsers support this, nor does the Unix backup software. Either replace spaces with dashes or underscores, or eliminate them altogether.
http://technology.niagarac.on.ca/public/samples/
If you would like to write your own, the most common programming languages to use are C and Perl. These languages are installed on the server itself.
Please contact the Webmaster to install your own CGI applications or those you download from the World Wide Web. CGI applications must be installed in the /cgi-bin directory.
http://technology.niagarac.on.ca/public/samples/
Second, you must obtain a user account from the Webmaster.
Locate or install Telnet (remote access) and FTP (file transfer) applications on your computer. Windows 95/NT and OS/2 Warp ship with built-in applications (telnet.exe and ftp.exe); freeware or shareware Telnet applications are available for Windows 3.x and MacOS, as well, and can be found at the Tucows WWW site at:
You transfer your files to your home directory or course directory via FTP.
You can then connect to the server using the Telnet service to manipulate any files. Telnet to either the IP address (192.197.62.35) or to the hostname, technology.niagarac.on.ca.
When you log in, you will be placed in your Unix home directory (for
example,
/home/mboldin). This directory can be used to hold all
of your files.
In your Unix home directory, there is a subdirectory called public_html, which is actually a link to your WWW home directory, e.g. /usr/wwwhome/people/mboldin. You can transfer files directly into this directory, or copy/move them there from your Unix home directory.
Remember, we are running a Unix operating system, so familiar Microsoft commands like dir, copy, move, and del may not be recognized. The Unix equivalents are ls, cp, mv, and rm, respectively. If in doubt, the man (shows the reference manual page) command is available; for example, man intro or man ls. Furthermore, editing documents on the server is possible (via emacs or vi, as is compilation of C-language CGI applications (via gcc). To learn more about Unix, consult the online Unix tutorial:
http://technology.niagarac.on.ca/public/unix-tutorial/
To illustrate, a sample FTP session might look as follows (text in blue is actually typed in by the user):
c:\www>ftp technology.niagarac.on.ca
Connected to technology.niagarac.on.ca.
220 technology.niagarac.on.ca FTP server (Version 6.00) ready.
User (technology.niagarac.on.ca:(none)): mboldin
331 Password required for mboldin.
Password:
230 User mboldin logged in.
ftp> pwd
257 "/usr/home/mboldin" is current directory.
ftp> asc
200 Type set to A.
ftp> put faq.html
200 PORT command successful.
150 Opening ASCII mode data connection for 'faq.html'.
226 Transfer complete.
24356 bytes sent in 0.22 seconds (110.71 Kbytes/sec)
ftp> bin
200 Type set to I.
ftp> put button-h.gif button-home.gif
200 PORT command successful.
150 Opening BINARY mode data connection for 'button-home.gif'.
226 Transfer complete.
284 bytes sent in 0.00 seconds (284000.00 Kbytes/sec)
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
total 66
-rw-r--r-- 1 mboldin wwwusers 483
Aug 25 09:58 .cshrc
-rw------- 1 mboldin wwwusers 1517 Aug
25 10:00 .history
-rw-r--r-- 1 mboldin wwwusers 619
Apr 8 10:13 .login
-rw-r--r-- 1 mboldin wwwusers 290
Apr 8 10:13 .mailrc
-rw-r--r-- 1 mboldin wwwusers 1203 Apr
8 10:13 .profile
-rw------- 1 mboldin wwwusers 257
Apr 8 10:13 .rhosts
-rw-r--r-- 1 mboldin wwwusers 284
Aug 27 13:03 button-home.gif
-rw-r--r-- 1 mboldin wwwusers 23917 Aug 27 13:03
faq.html
lrwxrwxrwx 1 root wwwusers 27 Aug 15 19:45 public_html -> /usr/wwwhome/people/mboldin
226 Transfer complete.
603 bytes received in 0.06 seconds (10.05 Kbytes/sec)
ftp> quit
221 Goodbye.
c:\www>_
A sample Telnet session may look like the following:
FreeBSD (technology.niagarac.on.ca) (ttyp0)
login: mboldin
Password:
Last login: Fri Aug 15 14:18:12 on ttyv0
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University
of California. All rights reserved.
FreeBSD 2.2.2-RELEASE (GENERIC) #0: Tue May 20 10:45:24 GMT 1997
Welcome to the Niagara College Technology WWW Server, now powered by FreeBSD!
The FreeBSD Handbook is in /usr/share/doc/handbook and the FAQ in
/usr/share/doc/FAQ.
% pwd
/usr/home/mboldin
% ls
button-home.gif faq.html
public_html
% ls -l
total 25
-rw-r--r-- 1 mboldin wwwusers 284
Aug 27 13:03 button-home.gif
-rw-r--r-- 1 mboldin wwwusers 23917 Aug 27 13:03
faq.html
lrwxrwxrwx 1 root wwwusers
27 Aug 15 19:45 public_html -> /usr/wwwhome/people/mboldin
% ls public_html
audio
faq
junk
rasslin.html whatsnew.html
contents.html guitar.html mbhome.led
truck.html
decaf.html images
nav.html tubeamps.html
edisgod.html index.html
plain weights.html
% mv button-home.gif public_html/images
% mv faq.html server-faq.html
% cp server-faq.html public_html
% ls
public_html server-faq.html
% rm server-faq.html
% ls
public_html
% exit
logout
Once on the server, pages can be tested with your local browser.