iTP Secure WebServer System Administrator's Guide (iTPWebSvr 5.1+)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—522659-001
7-48
Setting Up a Server-Side Include (SSI)
The image areas defined in Example 7-4 are shown in Figure 7-1.
In Figure 7-1
, if you select coordinates anywhere within the rectangle, you will be
directed to
http://www.foo.com/. Likewise, if you select coordinates anywhere
within the circle, you will be directed to /secret-stuff.html on the same server;
and if you select coordinates anywhere within the triangle, you will be directed to the
file triangle.html in the same directory containing the image map. If you select
coordinates anywhere else, you will be directed to the default URL, /home.html.
Setting Up a Server-Side Include (SSI)
A server-side include (SSI) allows you to insert real-time or updated information within
any given document. Examples of such information include:
•
Another file
•
Output from a CGI or /bin/sh script
•
The current date
•
A document's last modification date
•
The size or last modification of other documents
You set up SSIs by instructing the server to parse the HTML output being sent to a web
client to detect SSIs and act on them. Before you enable SSIs, consider that having the
server parse documents can be time-consuming for heavily loaded servers since the
servers would have to parse files in the process of sending them. Furthermore, SSIs can
Figure 7-1. Image Map Areas
(50,200) (100,200)
(50,250)
(50,50)
(100,100) (200,50)
CDT005.CDD