Sun Java System Web Server 6.1 SP9 Administrator's Guide

Setting the Document Footer

You can specify a document footer, which can include the last-modified time, for all the documents in a certain section of the server. This footer works for all files except output of CGI scripts or parsed HTML (.shtml) files. If you need your document footer to appear on CGI-script output or parsed HTML files, enter your footer text into a separate file and add a line of code or another server-side include to append that file to the page’s output.

To set the document footer, perform the following steps.

ProcedureTo set the document footer

  1. From the Class Manager, click the Content Management tab.

  2. Click Document Footer.

  3. Choose Entire Server from the resource picker to apply your change to the whole class, or navigate to the document root for a specific virtual server, or to a specific directory or within a specific virtual server.

    If you choose a directory, the document footer applies only when the server receives a URL for that directory or any file in that directory.

  4. Specify the type of files that you want to have include the footer.

  5. Specify the date format.

  6. Type any text you want to have appear in the footer.

    The maximum number of characters for a document footer is 765. If you want to include the date the document was last modified, type the string :LASTMOD:.

  7. Click OK.

    For more information see the online help for the Document Footer page.