From: Rich Bowen Date: Thu, 24 Jan 2013 02:07:41 +0000 (+0000) Subject: rebuild X-Git-Tag: 2.4.4~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1987a9385cf0f56c53c321f0112313cf8f9c03b6;p=apache rebuild git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1437837 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_include.html.en b/docs/manual/mod/mod_include.html.en index 704f03b729..30b448b03e 100644 --- a/docs/manual/mod/mod_include.html.en +++ b/docs/manual/mod/mod_include.html.en @@ -271,6 +271,10 @@ AddOutputFilter INCLUDES .shtml In order to avoid cross-site scripting issues, you should always encode user supplied data. + +

Example

+ <!--#echo encoding="entity" var="QUERY_STRING" --> +

@@ -352,7 +356,18 @@ AddOutputFilter INCLUDES .shtml
file
The value is a path relative to the directory - containing the current document being parsed.
+ containing the current document being parsed. + +

+ This file is <!--#fsize file="mod_include.html" --> bytes. +

+ + The value of file cannot start with a slash + (/), nor can it contain ../ so as to + refer to a file above the current directory or outside of the + document root. Attempting to so will result in the error message: + The given path was above the root path. +
virtual
The value is a (%-encoded) URL-path. If it does not begin with @@ -360,6 +375,14 @@ AddOutputFilter INCLUDES .shtml Note, that this does not print the size of any CGI output, but the size of the CGI script itself.
+ +

+ This file is <!--#fsize virtual="/docs/mod/mod_include.html" --> bytes. +

+ +

Note that in many cases these two are exactly the same thing. + However, the file attribute doesn't respect URL-space + aliases.

The flastmod Element

@@ -449,12 +472,14 @@ AddOutputFilter INCLUDES .shtml

The printenv Element

-

This prints out a listing of all existing variables and +

This prints out a plain text listing of all existing variables and their values. Special characters are entity encoded (see the echo element for details) before being output. There are no attributes.

Example

- <!--#printenv --> + <pre> + <!--#printenv --> + </pre>

diff --git a/docs/manual/mod/mod_include.xml.ja b/docs/manual/mod/mod_include.xml.ja index e49287ee18..3530f8408c 100644 --- a/docs/manual/mod/mod_include.xml.ja +++ b/docs/manual/mod/mod_include.xml.ja @@ -1,7 +1,7 @@ - +