Web Page, VAX, WEBREADY, and File Transfer Protocol
For the VAX to host a Web page, you must have the correct
settings. The easiest way to do this is to run an application called WEBREADY
created by UCS. Executing this program on the VAX will create a WWW directory
and place a generic homepage file in this directory with the proper protection
setting for viewing it from the Web. To see more information on Webready, see
the lecture Webready
If you already have a homepage on
the VAX that you like, DO NOT do this first section. Running WEBREADY will
destroy the current page and replace it with the generic homepage.
Executing WEBREADY ( only do this
if you do not have an existing homepage):
-
Log on the VAX with your username
-
Start->Connections
-
Double click on the VAX option
-
Log on
-
When the menu screen appears, move your cursor, using the
arrow keys, down to the Exit option.
-
You should see a single $ prompt
-
Type in the command WEBREADY and the $ prompt and press the
enter key.
-
The program will proceed to create your WWW directory and
place the generic INTEX.HTML file in your WWW directory. When you
transfer your own file that you have created, it will replace the WEBREADY
generic html file.
Viewing the current
homepage in your WWW directory.
Creating your homepage
-
Create a folder on your diskette (I recommend changing to
a ZIP disk later. HTML files with graphics require much space) entitled
WEB.
-
Now go and collect from the web or clip art files any photos
or graphics that you wish to use for your web page ( practice). Save them
to your newly created WEB folder making sure that their names are stored
using capital letters. (Example: MYFAMILY.JPG, not MyFamily.jpg) Note:
By right clicking on any filename, you can choose the rename option to
change the filename)
-
Launch WORD, choosing the NEW option under File menu, selecting
the WEB PAGES tab and doubling clicking on the Blank Web Page
This is the environemnt for the Bell third floor labs. Do not
expect this for every single lab. Only if that site has Word 97 and the installer
included all the options during Word's installation, will you see the templates.
However, all this does is give you a page with the HTML shell. So it's no big deal
if you do not have it. You still can open up a blank WORD doc and then save it
as HTML. To find more information about using Word as your HTML editor or other
Web productions, please see the CS 104 lecture page
-
This will appear as a blank Word document except the main
menu line is altered for HTML documents.
-
Enter whatever text you like in this document and insert
any of graphics you collected.
-
Note that HTML files do not have nor recognize word wrap
features around objects nor tab key inserts. You need to use tables or
the right movement hot key for placement of objects in an HTML document.
-
Save this document to your diskette in the WEB folder being
sure to name it INDEX.HTML
Transferring your homepage
Now it is time to transfer your INDEX.HTML file and all
of the files (graphics) to the VAX and into your WWW directory.
-
Start->Programs->MS-DOS Prompt
-
A black Window will appear
-
It should display C:\Windows>
-
At this prompt, you need to make sure that the system is
pointing to the correct disk and folder before a transfer is made. Type
in the letter of the floppy drive. Example: A: followed by the enter key.
-
If you see A:\WEB>, you are done.
-
If you see A:>, you must change to the WEB folder by entering
CD WEB.
-
It is now time to invoke the FTP software by entering the
following command:
-
FTP BSUVC.BSU.EDU (followed by the enter key)
-
Now log on the VAX using your username and password
-
After successfully logging on, enter bin. The bin
command is necessary because the files to be transferred are in binary
format. Be sure that you enter bin in lower case not uppercase letters.
-
You now need to know what area that the VAX is currently
in. You can obtain this information by entering the DIR command
at the prompt.
-
View the information displayed on the screen carefully.
-
If you are connected to BSU$USER_#:[yourusername.WWW],
you can proceed to next step. If you are connected to BSU$USER_#:[yourusername],
you need to enter CD WWW at the ftp> prompt.
-
Note: If you do not work at the normal rate, or are slow
in typing your file transfer command, the system may log you out. If this
happens, you must enter a bye at the FTP> prompt and repeat the ftp command
again.
-
Now you are ready to transfer your INDEX.html file and all
of the other files to the VAX.
-
Enter mput *.* at the FTP> prompt and press the enter
key.
-
The system will prompt you for a Y (yes) or N (no) after
displaying the name of each file.
-
Do not transfer the . or the .. files. These are pointers
in and out of subdirectories on your floppy.
-
After the transfer is complete, enter a quit at the
ftp> prompt and enter an EXIT at the A:\WEB > prompt. This will
exit you from the DOS mode and return you to the Windows GUI mode.
-
To view your new homepage use the instructions above in Viewing
the current homepage in your WWW directory section.