You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2013/01/16 02:46:46 UTC
svn commit: r1433791 -
/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_include.xml
Author: rbowen
Date: Wed Jan 16 01:46:45 2013
New Revision: 1433791
URL: http://svn.apache.org/viewvc?rev=1433791&view=rev
Log:
Adds examples to the <!--#config SSI function
Modified:
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_include.xml
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_include.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_include.xml?rev=1433791&r1=1433790&r2=1433791&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_include.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_include.xml Wed Jan 16 01:46:45 2013
@@ -140,28 +140,51 @@ AddOutputFilter INCLUDES .shtml
<dl>
<dt><code>echomsg</code> (<em>Apache 2.1 and later</em>)</dt>
- <dd>The value is a message that is sent back to the
+ <dd>
+ <p>The value is a message that is sent back to the
client if the <code><a href="#element.echo">echo</a></code> element
attempts to echo an undefined variable. This overrides any <directive
- module="mod_include">SSIUndefinedEcho</directive> directives.</dd>
+ module="mod_include">SSIUndefinedEcho</directive> directives.</p>
+
+ <example>
+ <!--#config errmsg="[Value Undefined]" -->
+ </example>
+ </dd>
<dt><code>errmsg</code></dt>
- <dd>The value is a message that is sent back to the
+ <dd><p>The value is a message that is sent back to the
client if an error occurs while parsing the
document. This overrides any <directive
- module="mod_include">SSIErrorMsg</directive> directives.</dd>
+ module="mod_include">SSIErrorMsg</directive> directives.</p>
+
+ <example>
+ <!--#config errmsg="[Oops, something broke.]" -->
+ </example>
+ </dd>
<dt><code>sizefmt</code></dt>
- <dd>The value sets the format to be used when displaying
+ <dd><p>The value sets the format to be used when displaying
the size of a file. Valid values are <code>bytes</code>
for a count in bytes, or <code>abbrev</code> for a count
in Kb or Mb as appropriate, for example a size of 1024 bytes
- will be printed as "1K".</dd>
+ will be printed as "1K".</p>
+
+ <example>
+ <!--#config sizefmt="abbrev" -->
+ </example>
+ </dd>
<dt><code>timefmt</code></dt>
- <dd>The value is a string to be used by the
+ <dd><p>The value is a string to be used by the
<code>strftime(3)</code> library routine when printing
- dates.</dd>
+ dates.</p>
+
+ <example
+ <!--#config timefmt=""%R, %B %d, %Y"" -->
+ </example>
+
+ </dd>
+
</dl>
</section> <!-- /config -->