iTP Secure WebServer System Administrator's Guide (Version 7.0)
Configuring the iTP Secure WebServer
iTP Secure WebServer System Administrator’s Guide—523346-012
7-51
Setting Up a Server-Side Include (SSI)
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)
Use a server-side include (SSI) 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 be a security risk since clients would be executing commands
Figure 7-1. Image Map Areas
(50,50)
(100,100) (200,50)
(100,200)
(50,200)
(50,250)
VST006.vsd