From: Richard Bowen Date: Sun, 15 Jun 2014 15:20:04 +0000 (+0000) Subject: Rebuild X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f35123505f2d7b3921d843def6cf876e4aa45252;p=thirdparty%2Fapache%2Fhttpd.git Rebuild git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1602703 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/howto/ssi.html.en b/docs/manual/howto/ssi.html.en index 4101a71a786..2140cb1beca 100644 --- a/docs/manual/howto/ssi.html.en +++ b/docs/manual/howto/ssi.html.en @@ -435,36 +435,30 @@ modified? the ``truth'' of a particular value. (A given string is true if it is nonempty.) For a full list of the comparison operators available to you, see the mod_include - documentation. Here are some examples of how one might use this - construct.

+ documentation.

+ +

For example, if you wish to customize the text on your web page + based on the time of day, you could use the following recipe, placed + in the HTML page:

-

In your configuration file, you could put the following - line:

-
        BrowserMatchNoCase macintosh Mac
- BrowserMatchNoCase MSIE InternetExplorer
- - -

This will set environment variables ``Mac'' and - ``InternetExplorer'' to true, if the client is running Internet - Explorer on a Macintosh.

- -

Then, in your SSI-enabled document, you might do the - following:

-

- <!--#if expr="-T reqenv('Mac') && - -T reqenv('InternetExplorer')" -->
- Apologetic text goes here
- <!--#else -->
- Cool JavaScript code goes here
- <!--#endif --> -

+

+ Good + <!--#if expr="%{TIME_HOUR} >=12" -->
+ morning!
+ <!--#else -->
+ afternoon!
+ <!--#endif -->
+

Any other variable (either ones that you define, or normal environment variables) can be used in conditional statements. - With Apache's ability to set environment variables with the + See Expressions in Apache HTTP Server for + more information on the expression evaluation engine.

+ +

With Apache's ability to set environment variables with the SetEnvIf directives, and other related directives, - this functionality can let you do some pretty involved dynamic - stuff without ever resorting to CGI.

+ this functionality can let you do a wide variety of dynamic content + on the server side without resorting a full web application.

top
diff --git a/docs/manual/howto/ssi.html.fr b/docs/manual/howto/ssi.html.fr index 53b928cc56f..9b99b226956 100644 --- a/docs/manual/howto/ssi.html.fr +++ b/docs/manual/howto/ssi.html.fr @@ -28,6 +28,8 @@  ja  |  ko 

+
Cette traduction peut être périmée. Vérifiez la version + anglaise pour les changements récents.

Les SSI permettent d'ajouter du contenu dynamique à des documents HTML préexistants.

diff --git a/docs/manual/howto/ssi.xml.fr b/docs/manual/howto/ssi.xml.fr index bc7b2b5527f..2bac4ef1bbf 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 1b1ece0a04a..0293c7a6445 100644 --- a/docs/manual/howto/ssi.xml.ja +++ b/docs/manual/howto/ssi.xml.ja @@ -1,7 +1,7 @@ - + +