iTP Secure WebServer System Administrators Guide (Version 7.5+)

id
is the message identifier (see “Server Access Errors” (page 222)).
text
is the HTML encoding of the message. You must use curly braces ({}) to enclose
messages that include spaces or that span more than one line.
The Message directive causes the server to return text whenever the error condition specified
by id occurs.
For example, you might use the Message directive to customize the error-forbidden message
to read as:
Message error-forbidden {
<TITLE>Forbidden</TITLE><H1>Forbidden</H1>
You do not have permission to get the requested object.<P>
For access information, contact <B>webmaster@widgets.com.</B>
<P><HR><ADDRESS>Widgets International, Inc.</ADDRESS>
}
Or, you might customize the error-short-redirect message to read as:
Message error-short-redirect {
<TITLE>Redirection</TITLE><H1>Redirection</H1>
This document can be found <A HREF="$url">elsewhere.</A>
<P>Your browser does not properly support long URLs.
}
In this example, the server replaces $url with the redirection URL.
For further details about the Message directive, see “Configuration Directives” (page 198).
Setting Up Clickable Images
The iTP Secure WebServer provides built-in support for clickable images. Clickable images are
inline images that a user can click to access a specific URL. When a user clicks a clickable image,
the Web client sends a query to the server together with the coordinates of the user's selection.
The server uses an image map file to determine which image the coordinates map to along with
which URL is associated with the image.
To setup a clickable image, you must perform the following steps:
“Creating an Image Map File” (page 127)
Adding a Hypertext Anchor” (page 128)
“Testing the Image Setup” (page 129)
Creating an Image Map File
The first step in setting up a clickable image is to map specific areas of the image to specific URLs.
You specify this mapping in an image map file, which must have the extension .map.
The image to be mapped must be defined in an existing graphics file (for example, kellie.gif).
You create a corresponding image map file (for example, kellie.map) to contain the mappings
of specific parts of the existing image to specific URLs.
iTP Secure WebServer image map files can use either the CERN or NCSA format.
Image Map Directives
You specify a mapping between specific areas of an image and specific URLs by usingimage map
directives. These directives specify an area of an image in terms of pixel coordinates (x,y) measured
from the upper left corner of the image.
Lines that begin with a pound sign (#) are treated as comments and are ignored.
There are four image map directives:
Setting Up Clickable Images 127