You have a new job to develop the web pages for your own company. The only problem is that the person who had the job before you has died, and left you with unfinished work.
Come back here when you are finished, but first look at the mess you were left with! Broken links. Broken images. Broken DB2WWW, image maps and CGI applications. Bummer.
The first thing we are going to do today is to fix the HTML and most of the links in your web application.
Description | Value |
The URL to your web application | http://internut.rchland.ibm.com/ITSOICnn/welcome.htm (or) file:///c:/ITSOICnn/welcome.htm (you must first complete Step 1 below) |
Web application is located on the AS/400 | /ITSOICnn/* |
Web application is located on your PC | /ITSOICnn/* |
You will be fixing links and graphics in three HTML files | /ITSOICnn/welcome.htm /ITSOICnn/imvh102.htm /ITSOICnn/imvh300.htm |
AS/400 userid and password | ITSOICnn ITSOICnn |
AS/400 system name | host09 |
PC system name | hostnn (for example, team01's system name is host01) |
PC User ID for anonymous FTP | anonymous |
The URL to a working example | http://internut.rchland.ibm.com/ITSOIC.400/welcome.htm |
We do this once, to initialize the master copy which will be on your PC. We strongly suggest that you originate the FTP session from the AS/400 (the AS/400 is the FTP client).
First, use tn5250 on the PC to telnet to the AS/400 and then logon as ITSOICnn with password ITSOICnn. Then:
FTP from the AS/400 to your PC. That is, the AS/400 is the FTP client and your PC will be the FTP server.
<!--???!! Lab 1 !!??????????????????????????????????-->
We need to move the changed HTML back to test the Image Map and other changed links.
If you have problems go back and edit the PC files then FTP them back to the AS/400.
#*****************************************************# #** Start:HTTP Directives for Team nn ****************#
Question | Answer |
Question 1: What is a bummer? | The USA term 'bummer' had its origin in the 1960s. It was originally
used to describe a bad experience with bad drugs. Later...the term was
generalized to simply mean a bad experience. The term 'bummer' was used recently in a 1995 advertising campaign by IBM during an add for the
AS/400. The AS/400 was seen as just the tool needed to solve a 'bummer'
of a problem.
By the way, the questions and their answers can be found in a table at the bottom of all the labs. Return to the top. |
Question 2: Why could you not test this on the PC? | The PC is not set up to handle server side image maps. Look again to the URL that will be sent as you move the cursor over the image map GIF. It is a file:// URL, that will not work on your PC. You must move this HTML back to the AS/400 and test from there as the next step tells you to do. Return to Question 2. |
Question 3: What two HTTP directives allows your web application /ITSOICnn/welcome.htm to be served in either upper or lower case? | Pass /ITSOICnn/* Pass /itsoicnn/* |
Question 4: What does /qsys.lib/qtcp.lib/qtmhimag.pgm refer to? | This is the full path to QTMHIMAG.PGM, an image mapping CGI program that IBM has written for you. |
Question 5: What does /qsys.lib/itsoicnn.lib/imagemap.file refer to? | This is the full path to the server side image map file. The ITSO wrote this for you. The member of MAPK.MBR is appended on the end of the URL as it comes from the client. Take a look at this image map source file on the AS/400 to see how it is coded. |
htl010