Specifying a Document Footer

You can specify a document footer, which can include the last-modified time, for all the documents in a certain section of your server without using server-parsed HTML. This footer works for all files except the output of CGI scripts or parsed HTML (.SHTML) files.

HINT:  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 include another server-side to append that file to the page's output.

  1. Click Enterprise Web Server servername > Content Management > Document Footer.

  2. Select the resource that you want to apply the document footer to from the Editing drop-down list.

  3. Click Browse to view the different server resources.

  4. To enter the pattern you want to edit, click Wildcard .

  5. In the For Files of Type field, enter the kind of files that you want to include in the footer. The default is text/html.

  6. Select the time format from the drop-down list or enter a date in the Custom Date Format field.

  7. In the Footer Text field, enter the footer text.

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

  8. Click OK > Save and Apply.

  9. To change the footer text, click Deactivate Custom Trailer.

    When you change the document footer for an HTML page, the last-modified date doesn't change.



Previous | Next