From: Rich Bowen Date: Wed, 16 Jan 2013 01:09:21 +0000 (+0000) Subject: Rebuild X-Git-Tag: 2.5.0-alpha~5873 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9648bfe227e0245b62664bf2dde7479568f0adc0;p=apache Rebuild git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1433784 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/howto/ssi.html.en b/docs/manual/howto/ssi.html.en index d57447aec6..f5a080ba0a 100644 --- a/docs/manual/howto/ssi.html.en +++ b/docs/manual/howto/ssi.html.en @@ -172,7 +172,7 @@ existing HTML documents.

SSI directives have the following syntax:

- <!--#element attribute=value attribute=value ... --> + <!--#function attribute=value attribute=value ... -->

It is formatted like an HTML comment, so if you don't have @@ -181,7 +181,7 @@ existing HTML documents.

configured, the directive will be replaced with its results.

-

The element can be one of a number of things, and we'll talk +

The function can be one of a number of things, and we'll talk some more about most of these in the next installment of this series. For now, here are some examples of what you can do with SSI

@@ -192,14 +192,14 @@ existing HTML documents.

<!--#echo var="DATE_LOCAL" -->

-

The echo element just spits out the value of a +

The echo function just spits out the value of a variable. There are a number of standard variables, which include the whole set of environment variables that are available to CGI programs. Also, you can define your own - variables with the set element.

+ variables with the set function.

If you don't like the format in which the date gets printed, - you can use the config element, with a + you can use the config function, with a timefmt attribute, to modify that formatting.

@@ -214,7 +214,7 @@ existing HTML documents.

This document last modified <!--#flastmod file="index.html" -->

-

This element is also subject to timefmt format +

This function is also subject to timefmt format configurations.

@@ -279,7 +279,7 @@ modified? reduce the burden of these updates. You just have to make one footer file, and then include it into each page with the include SSI command. The include - element can determine what file to include with either the + function can determine what file to include with either the file attribute, or the virtual attribute. The file attribute is a file path, relative to the current directory. That means that it @@ -315,7 +315,7 @@ modified?

If you want to change that message to something else, you can do so with the errmsg attribute to the - config element:

+ config function:

<!--#config errmsg="[It appears that you don't know how to use SSI]" -->

@@ -337,7 +337,7 @@ modified?

I expect that I'll have an article some time in the coming months about using SSI with small CGI programs. For now, here's something else that you can do with the exec - element. You can actually have SSI execute a command using the + function. You can actually have SSI execute a command using the shell (/bin/sh, to be precise - or the DOS shell, if you're on Win32). The following, for example, will give you a directory listing.

diff --git a/docs/manual/howto/ssi.xml.fr b/docs/manual/howto/ssi.xml.fr index 79c6f07fe6..e876aebed6 100644 --- a/docs/manual/howto/ssi.xml.fr +++ b/docs/manual/howto/ssi.xml.fr @@ -1,7 +1,7 @@ - + diff --git a/docs/manual/howto/ssi.xml.ja b/docs/manual/howto/ssi.xml.ja index 9ed9d21f91..ec1c40cf60 100644 --- a/docs/manual/howto/ssi.xml.ja +++ b/docs/manual/howto/ssi.xml.ja @@ -1,7 +1,7 @@ - + +