From: Richard Bowen Date: Thu, 24 Jan 2013 01:15:28 +0000 (+0000) Subject: Adds examples for fsize and clarifies the difference between file and virtual X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c322446a218d39185ea914f9bf1add3a165cab0;p=thirdparty%2Fapache%2Fhttpd.git Adds examples for fsize and clarifies the difference between file and virtual git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1437821 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_include.xml b/docs/manual/mod/mod_include.xml index 4dcce2653cb..55700e42e74 100644 --- a/docs/manual/mod/mod_include.xml +++ b/docs/manual/mod/mod_include.xml @@ -332,7 +332,17 @@ 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 + refer to a file above the current directory. 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 @@ -340,6 +350,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