syntax for mod_b*.xml and mod_c*.xml

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2012-04-26 16:55:17 +00:00
parent f19a613269
commit c8f77a58d9
8 changed files with 203 additions and 194 deletions

View File

@ -55,7 +55,9 @@
<directive module="mod_filter">AddOutputFilterByType</directive> directives.</p> <directive module="mod_filter">AddOutputFilterByType</directive> directives.</p>
<example><title>Using buffer with mod_include</title> <example><title>Using buffer with mod_include</title>
AddOutputFilterByType INCLUDES;BUFFER text/html<br /> <highlight language="config">
AddOutputFilterByType INCLUDES;BUFFER text/html
</highlight>
</example> </example>
<note type="warning">The buffer filters read the request/response into <note type="warning">The buffer filters read the request/response into

View File

@ -149,27 +149,24 @@
<section id="sampleconf"><title>Sample Configuration</title> <section id="sampleconf"><title>Sample Configuration</title>
<example><title>Sample httpd.conf</title> <example><title>Sample httpd.conf</title>
#<br /> <highlight language="config">
# Sample Cache Configuration<br /> #
#<br /> # Sample Cache Configuration
LoadModule cache_module modules/mod_cache.so<br /> #
<br /> LoadModule cache_module modules/mod_cache.so
&lt;IfModule mod_cache.c&gt;<br /> &lt;IfModule mod_cache.c&gt;
<indent> LoadModule cache_disk_module modules/mod_cache_disk.so
LoadModule cache_disk_module modules/mod_cache_disk.so<br /> &lt;IfModule mod_cache_disk.c&gt;
&lt;IfModule mod_cache_disk.c&gt;<br /> CacheRoot c:/cacheroot
<indent> CacheEnable disk /
CacheRoot c:/cacheroot<br /> CacheDirLevels 5
CacheEnable disk /<br /> CacheDirLength 3
CacheDirLevels 5<br /> &lt;/IfModule&gt;
CacheDirLength 3<br />
</indent> # When acting as a proxy, don't cache the list of security updates
&lt;/IfModule&gt; <br /> CacheDisable http://security.update.server/update-list/
<br /> &lt;/IfModule&gt;
# When acting as a proxy, don't cache the list of security updates<br /> </highlight>
CacheDisable http://security.update.server/update-list/<br />
</indent>
&lt;/IfModule&gt;
</example> </example>
</section> </section>
@ -223,16 +220,16 @@
<section> <section>
<title>Example configuration</title> <title>Example configuration</title>
<example><title>Enabling the cache lock</title> <example><title>Enabling the cache lock</title>
#<br /> <highlight language="config">
# Enable the cache lock<br /> #
#<br /> # Enable the cache lock
&lt;IfModule mod_cache.c&gt;<br /> #
<indent> &lt;IfModule mod_cache.c&gt;
CacheLock on<br /> CacheLock on
CacheLockPath /tmp/mod_cache-lock<br /> CacheLockPath /tmp/mod_cache-lock
CacheLockMaxAge 5<br /> CacheLockMaxAge 5
</indent> &lt;/IfModule&gt;
&lt;/IfModule&gt; </highlight>
</example> </example>
</section> </section>
</section> </section>
@ -266,33 +263,33 @@
place the <strong>CACHE</strong> filter before the <strong>DEFLATE</strong> place the <strong>CACHE</strong> filter before the <strong>DEFLATE</strong>
filter as in the example below:</p> filter as in the example below:</p>
<example> <highlight language="config">
# Cache content before optional compression<br /> # Cache content before optional compression
CacheQuickHandler off<br /> CacheQuickHandler off
AddOutputFilterByType CACHE;DEFLATE text/plain<br /><br /> AddOutputFilterByType CACHE;DEFLATE text/plain
</example> </highlight>
<p>Another option is to have content cached before personalisation is applied <p>Another option is to have content cached before personalisation is applied
by <module>mod_include</module> (or another content processing filter). In this by <module>mod_include</module> (or another content processing filter). In this
example templates containing tags understood by example templates containing tags understood by
<module>mod_include</module> are cached before being parsed:</p> <module>mod_include</module> are cached before being parsed:</p>
<example> <highlight language="config">
# Cache content before mod_include and mod_deflate<br /> # Cache content before mod_include and mod_deflate
CacheQuickHandler off<br /> CacheQuickHandler off
AddOutputFilterByType CACHE;INCLUDES;DEFLATE text/html<br /><br /> AddOutputFilterByType CACHE;INCLUDES;DEFLATE text/html
</example> </highlight>
<p>You may place the <strong>CACHE</strong> filter anywhere you wish within the <p>You may place the <strong>CACHE</strong> filter anywhere you wish within the
filter chain. In this example, content is cached after being parsed by filter chain. In this example, content is cached after being parsed by
<module>mod_include</module>, but before being processed by <module>mod_include</module>, but before being processed by
<module>mod_deflate</module>:</p> <module>mod_deflate</module>:</p>
<example> <highlight language="config">
# Cache content between mod_include and mod_deflate<br /> # Cache content between mod_include and mod_deflate
CacheQuickHandler off<br /> CacheQuickHandler off
AddOutputFilterByType INCLUDES;CACHE;DEFLATE text/html<br /><br /> AddOutputFilterByType INCLUDES;CACHE;DEFLATE text/html
</example> </highlight>
<note type="warning"><title>Warning:</title>If the location of the <note type="warning"><title>Warning:</title>If the location of the
<strong>CACHE</strong> filter in the filter chain is changed for any reason, <strong>CACHE</strong> filter in the filter chain is changed for any reason,
@ -310,9 +307,9 @@
<directive module="mod_log_config">LogFormat</directive> directive as <directive module="mod_log_config">LogFormat</directive> directive as
follows:</p> follows:</p>
<example> <highlight language="config">
LogFormat "%{cache-status}e ..." LogFormat "%{cache-status}e ..."
</example> </highlight>
<p>Based on the caching decision made, the reason is also written to the <p>Based on the caching decision made, the reason is also written to the
subprocess environment under one the following four keys, as appropriate:</p> subprocess environment under one the following four keys, as appropriate:</p>
@ -329,12 +326,12 @@
<p>This makes it possible to support conditional logging of cached requests <p>This makes it possible to support conditional logging of cached requests
as per the following example:</p> as per the following example:</p>
<example> <highlight language="config">
CustomLog cached-requests.log common env=cache-hit<br /> CustomLog cached-requests.log common env=cache-hit
CustomLog uncached-requests.log common env=cache-miss<br /> CustomLog uncached-requests.log common env=cache-miss
CustomLog revalidated-requests.log common env=cache-revalidate<br /> CustomLog revalidated-requests.log common env=cache-revalidate
CustomLog invalidated-requests.log common env=cache-invalidate<br /> CustomLog invalidated-requests.log common env=cache-invalidate
</example> </highlight>
<p>For module authors, a hook called <var>cache_status</var> is available, <p>For module authors, a hook called <var>cache_status</var> is available,
allowing modules to respond to the caching outcomes above in customised allowing modules to respond to the caching outcomes above in customised
@ -379,37 +376,37 @@ manager</description>
also be used to specify remote sites and proxy protocols which also be used to specify remote sites and proxy protocols which
caching should be enabled for.</p> caching should be enabled for.</p>
<example> <highlight language="config">
# Cache content<br /> # Cache content
&lt;Location /foo&gt;<br /> &lt;Location /foo&gt;
<indent> CacheEnable disk
CacheEnable disk<br /> &lt;/Location&gt;
</indent>
&lt;/Location&gt;<br /><br /> # Cache regex
# Cache regex<br /> &lt;LocationMatch foo$&gt;
&lt;LocationMatch foo$&gt;<br /> CacheEnable disk
<indent> &lt;/LocationMatch&gt;
CacheEnable disk<br />
</indent> # Cache proxied url's
&lt;/LocationMatch&gt;<br /><br /> CacheEnable disk /
# Cache proxied url's<br />
CacheEnable disk /<br /><br /> # Cache FTP-proxied url's
# Cache FTP-proxied url's<br /> CacheEnable disk ftp://
CacheEnable disk ftp://<br /><br />
# Cache content from www.example.org<br /> # Cache content from www.example.org
CacheEnable disk http://www.example.org/<br /> CacheEnable disk http://www.example.org/
</example> </highlight>
<p>A hostname starting with a <strong>"*"</strong> matches all hostnames with <p>A hostname starting with a <strong>"*"</strong> matches all hostnames with
that suffix. A hostname starting with <strong>"."</strong> matches all that suffix. A hostname starting with <strong>"."</strong> matches all
hostnames containing the domain components that follow.</p> hostnames containing the domain components that follow.</p>
<example> <highlight language="config">
# Match www.example.org, and fooexample.org<br /> # Match www.example.org, and fooexample.org
CacheEnable disk http://*example.org/<br /> CacheEnable disk http://*example.org/
# Match www.example.org, but not fooexample.org<br /> # Match www.example.org, but not fooexample.org
CacheEnable disk http://.example.org/<br /> CacheEnable disk http://.example.org/
</example> </highlight>
<p> The <code>no-cache</code> environment variable can be set to <p> The <code>no-cache</code> environment variable can be set to
disable caching on a finer grained set of resources in versions disable caching on a finer grained set of resources in versions
@ -433,7 +430,9 @@ manager</description>
<var>url-string</var>.</p> <var>url-string</var>.</p>
<example><title>Example</title> <example><title>Example</title>
<highlight language="config">
CacheDisable /local_files CacheDisable /local_files
</highlight>
</example> </example>
<p>If used in a <directive type="section">Location</directive> directive, <p>If used in a <directive type="section">Location</directive> directive,
@ -441,11 +440,11 @@ manager</description>
is used, caching for the whole location will be disabled.</p> is used, caching for the whole location will be disabled.</p>
<example><title>Example</title> <example><title>Example</title>
&lt;Location /foo&gt;<br /> <highlight language="config">
<indent> &lt;Location /foo&gt;
CacheDisable on<br /> CacheDisable on
</indent> &lt;/Location&gt;
&lt;/Location&gt;<br /> </highlight>
</example> </example>
<p>The <code>no-cache</code> environment variable can be set to <p>The <code>no-cache</code> environment variable can be set to
@ -472,9 +471,9 @@ manager</description>
server. Thus, documents will be out of date at most this number of seconds. This maximum server. Thus, documents will be out of date at most this number of seconds. This maximum
value is enforced even if an expiry date was supplied with the document.</p> value is enforced even if an expiry date was supplied with the document.</p>
<example> <highlight language="config">
CacheMaxExpire 604800 CacheMaxExpire 604800
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -495,9 +494,9 @@ manager</description>
server. This is only used if no valid expire time was supplied with the document.</p> server. This is only used if no valid expire time was supplied with the document.</p>
<example> <highlight language="config">
CacheMinExpire 3600 CacheMinExpire 3600
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -518,9 +517,9 @@ manager</description>
with the document. The value specified with the <directive>CacheMaxExpire</directive> with the document. The value specified with the <directive>CacheMaxExpire</directive>
directive does <em>not</em> override this setting.</p> directive does <em>not</em> override this setting.</p>
<example> <highlight language="config">
CacheDefaultExpire 86400 CacheDefaultExpire 86400
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -548,9 +547,9 @@ header.</description>
<directive>CacheDefaultExpire</directive> directive will be used to <directive>CacheDefaultExpire</directive> directive will be used to
generate an expiration date.</p> generate an expiration date.</p>
<example> <highlight language="config">
CacheIgnoreNoLastMod On CacheIgnoreNoLastMod On
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -571,9 +570,9 @@ header.</description>
if the request contains no-cache header values. Resources requiring if the request contains no-cache header values. Resources requiring
authorization will <em>never</em> be cached.</p> authorization will <em>never</em> be cached.</p>
<example> <highlight language="config">
CacheIgnoreCacheControl On CacheIgnoreCacheControl On
</example> </highlight>
<note type="warning"><title>Warning:</title> <note type="warning"><title>Warning:</title>
This directive will allow serving from the cache even if the client has This directive will allow serving from the cache even if the client has
@ -603,9 +602,9 @@ header.</description>
view the request is treated as if having no query string when this view the request is treated as if having no query string when this
directive is enabled.</p> directive is enabled.</p>
<example> <highlight language="config">
CacheIgnoreQueryString On CacheIgnoreQueryString On
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -642,9 +641,9 @@ LastModified date.</description>
<directive>CacheMaxExpire</directive>, then the latter takes <directive>CacheMaxExpire</directive>, then the latter takes
precedence.</p> precedence.</p>
<example> <highlight language="config">
CacheLastModifiedFactor 0.5 CacheLastModifiedFactor 0.5
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -685,11 +684,15 @@ LastModified date.</description>
<code>None</code>.</p> <code>None</code>.</p>
<example><title>Example 1</title> <example><title>Example 1</title>
<highlight language="config">
CacheIgnoreHeaders Set-Cookie CacheIgnoreHeaders Set-Cookie
</highlight>
</example> </example>
<example><title>Example 2</title> <example><title>Example 2</title>
<highlight language="config">
CacheIgnoreHeaders None CacheIgnoreHeaders None
</highlight>
</example> </example>
<note type="warning"><title>Warning:</title> <note type="warning"><title>Warning:</title>
@ -728,11 +731,15 @@ LastModified date.</description>
identifiers. Otherwise, each identifier is added to the list.</p> identifiers. Otherwise, each identifier is added to the list.</p>
<example><title>Example 1</title> <example><title>Example 1</title>
<highlight language="config">
CacheIgnoreURLSessionIdentifiers jsessionid CacheIgnoreURLSessionIdentifiers jsessionid
</highlight>
</example> </example>
<example><title>Example 2</title> <example><title>Example 2</title>
<highlight language="config">
CacheIgnoreURLSessionIdentifiers None CacheIgnoreURLSessionIdentifiers None
</highlight>
</example> </example>
</usage> </usage>
@ -759,9 +766,9 @@ LastModified date.</description>
the origin server, and the response may be fulfilled from cache the origin server, and the response may be fulfilled from cache
if the backend resource has not changed.</p> if the backend resource has not changed.</p>
<example> <highlight language="config">
CacheStoreExpired On CacheStoreExpired On
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -785,9 +792,9 @@ LastModified date.</description>
private header values. Resources requiring authorization will private header values. Resources requiring authorization will
<em>never</em> be cached.</p> <em>never</em> be cached.</p>
<example> <highlight language="config">
CacheStorePrivate On CacheStorePrivate On
</example> </highlight>
<note type="warning"><title>Warning:</title> <note type="warning"><title>Warning:</title>
This directive will allow caching even if the upstream server has This directive will allow caching even if the upstream server has
@ -819,9 +826,9 @@ LastModified date.</description>
no-store header values. Resources requiring authorization will no-store header values. Resources requiring authorization will
<em>never</em> be cached.</p> <em>never</em> be cached.</p>
<example> <highlight language="config">
CacheStoreNoStore On CacheStoreNoStore On
</example> </highlight>
<note type="warning"><title>Warning:</title> <note type="warning"><title>Warning:</title>
As described in RFC 2616, the no-store directive is intended to As described in RFC 2616, the no-store directive is intended to
@ -850,10 +857,10 @@ LastModified date.</description>
<p>In a minimal configuration the following directive is all that is needed to <p>In a minimal configuration the following directive is all that is needed to
enable the thundering herd lock in the default system temp directory.</p> enable the thundering herd lock in the default system temp directory.</p>
<example> <highlight language="config">
# Enable cache lock<br /> # Enable cache lock
CacheLock on<br /><br /> CacheLock on
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -920,21 +927,21 @@ LastModified date.</description>
slower than the default, it allows the cache to be used in cases where full slower than the default, it allows the cache to be used in cases where full
processing is required, such as when content is subject to authorisation.</p> processing is required, such as when content is subject to authorisation.</p>
<example> <highlight language="config">
# Run cache as a normal handler<br /> # Run cache as a normal handler
CacheQuickHandler off<br /><br /> CacheQuickHandler off
</example> </highlight>
<p>It is also possible, when the quick handler is disabled, for the <p>It is also possible, when the quick handler is disabled, for the
administrator to choose the precise location within the filter chain where administrator to choose the precise location within the filter chain where
caching is to be performed, by adding the <strong>CACHE</strong> filter to caching is to be performed, by adding the <strong>CACHE</strong> filter to
the chain.</p> the chain.</p>
<example> <highlight language="config">
# Cache content before mod_include and mod_deflate<br /> # Cache content before mod_include and mod_deflate
CacheQuickHandler off<br /> CacheQuickHandler off
AddOutputFilterByType CACHE;INCLUDES;DEFLATE text/html<br /><br /> AddOutputFilterByType CACHE;INCLUDES;DEFLATE text/html
</example> </highlight>
<p>If the CACHE filter is specified more than once, the last instance will <p>If the CACHE filter is specified more than once, the last instance will
apply.</p> apply.</p>
@ -972,14 +979,14 @@ LastModified date.</description>
server and was not served from cache.</dd> server and was not served from cache.</dd>
</dl> </dl>
<example> <highlight language="config">
# Enable the X-Cache header<br /> # Enable the X-Cache header
CacheHeader on<br /> CacheHeader on
</example> </highlight>
<example> <highlight language="config">
X-Cache: HIT from localhost<br /> X-Cache: HIT from localhost
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -1012,10 +1019,10 @@ LastModified date.</description>
is used, this directive must appear within a server or virtual host context, otherwise is used, this directive must appear within a server or virtual host context, otherwise
the setting will be ignored.</p> the setting will be ignored.</p>
<example> <highlight language="config">
# Enable the X-Cache-Detail header<br /> # Enable the X-Cache-Detail header
CacheDetailHeader on<br /> CacheDetailHeader on
</example> </highlight>
<example> <example>
X-Cache-Detail: "conditional cache hit: entity refreshed" from localhost<br /> X-Cache-Detail: "conditional cache hit: entity refreshed" from localhost<br />
@ -1043,10 +1050,10 @@ LastModified date.</description>
should be cached beneath the same cache key, a new base URL can be specified should be cached beneath the same cache key, a new base URL can be specified
with this directive.</p> with this directive.</p>
<example> <highlight language="config">
# Override the base URL of the cache key.<br /> # Override the base URL of the cache key.
CacheKeyBaseURL http://www.example.com/<br /> CacheKeyBaseURL http://www.example.com/
</example> </highlight>
<note type="warning">Take care when setting this directive. If two separate virtual <note type="warning">Take care when setting this directive. If two separate virtual
hosts are accidentally given the same base URL, entries from one virtual host hosts are accidentally given the same base URL, entries from one virtual host
@ -1075,10 +1082,10 @@ LastModified date.</description>
and the raw 5xx responses returned to the client on request, the 5xx response so and the raw 5xx responses returned to the client on request, the 5xx response so
returned to the client will not invalidate the content in the cache.</p> returned to the client will not invalidate the content in the cache.</p>
<example> <highlight language="config">
# Serve stale data on error.<br /> # Serve stale data on error.
CacheStaleOnError on<br /> CacheStaleOnError on
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>

View File

@ -89,9 +89,9 @@ stored</description>
module="mod_cache_disk">CacheDirLength</directive> directives define module="mod_cache_disk">CacheDirLength</directive> directives define
the structure of the directories under the specified root directory.</p> the structure of the directories under the specified root directory.</p>
<example> <highlight language="config">
CacheRoot c:/cacheroot CacheRoot c:/cacheroot
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -167,9 +167,9 @@ cache</description>
minimum size, in bytes, for a document to be considered for storage minimum size, in bytes, for a document to be considered for storage
in the cache.</p> in the cache.</p>
<example> <highlight language="config">
CacheMinFileSize 64 CacheMinFileSize 64
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -190,9 +190,9 @@ cache</description>
maximum size, in bytes, for a document to be considered for storage in maximum size, in bytes, for a document to be considered for storage in
the cache.</p> the cache.</p>
<example> <highlight language="config">
CacheMaxFileSize 64000 CacheMaxFileSize 64000
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -220,9 +220,9 @@ cache</description>
<p>This directive only takes effect when the data is being saved to the <p>This directive only takes effect when the data is being saved to the
cache, as opposed to data being served from the cache.</p> cache, as opposed to data being served from the cache.</p>
<example> <highlight language="config">
CacheReadSize 102400 CacheReadSize 102400
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -254,9 +254,9 @@ cache</description>
ensure that the server does not buffer excessively should data arrive faster ensure that the server does not buffer excessively should data arrive faster
than expected.</p> than expected.</p>
<example> <highlight language="config">
CacheReadTime 1000 CacheReadTime 1000
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>

View File

@ -42,26 +42,22 @@ HTTP caching filter.</description>
however the caching of partial content is not yet supported by this however the caching of partial content is not yet supported by this
module.</p> module.</p>
<example> <highlight language="config">
# Turn on caching<br /> # Turn on caching
CacheSocache shmcb<br /> CacheSocache shmcb
CacheSocacheMaxSize 102400<br /> CacheSocacheMaxSize 102400
&lt;Location /foo&gt;<br /> &lt;Location /foo&gt;
<indent> CacheEnable socache
CacheEnable socache<br /> &lt;/Location&gt;
</indent>
&lt;/Location&gt;<br /> # Fall back to the disk cache
<br /> CacheSocache shmcb
# Fall back to the disk cache<br /> CacheSocacheMaxSize 102400
CacheSocache shmcb<br /> &lt;Location /foo&gt;
CacheSocacheMaxSize 102400<br /> CacheEnable socache
&lt;Location /foo&gt;<br /> CacheEnable disk
<indent> &lt;/Location&gt;
CacheEnable socache<br /> </highlight>
CacheEnable disk<br />
</indent>
&lt;/Location&gt;<br />
</example>
<note><title>Note:</title> <note><title>Note:</title>
<p><module>mod_cache_socache</module> requires the services of <p><module>mod_cache_socache</module> requires the services of
@ -89,9 +85,9 @@ stored</description>
implementations</a> of shared object caches are available to choose implementations</a> of shared object caches are available to choose
from.</p> from.</p>
<example> <highlight language="config">
CacheSocache shmcb CacheSocache shmcb
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -114,9 +110,9 @@ cache</description>
the cache. This value overrides the freshness lifetime defined for the the cache. This value overrides the freshness lifetime defined for the
document by the HTTP protocol.</p> document by the HTTP protocol.</p>
<example> <highlight language="config">
CacheSocacheMaxTime 86400 CacheSocacheMaxTime 86400
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -140,9 +136,9 @@ cache</description>
only stored for its freshness lifetime, there will be no opportunity to only stored for its freshness lifetime, there will be no opportunity to
revalidate the response to make it fresh again.</p> revalidate the response to make it fresh again.</p>
<example> <highlight language="config">
CacheSocacheMinTime 600 CacheSocacheMinTime 600
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -172,9 +168,9 @@ cache</description>
responses larger than those cacheable within responses larger than those cacheable within
<module>mod_cache_socache</module>.</p> <module>mod_cache_socache</module>.</p>
<example> <highlight language="config">
CacheSocacheMaxSize 102400 CacheSocacheMaxSize 102400
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -203,9 +199,9 @@ cache</description>
<p>This directive only takes effect when the data is being saved to the <p>This directive only takes effect when the data is being saved to the
cache, as opposed to data being served from the cache.</p> cache, as opposed to data being served from the cache.</p>
<example> <highlight language="config">
CacheReadSize 102400 CacheReadSize 102400
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>
@ -238,9 +234,9 @@ cache</description>
to ensure that the server does not buffer excessively should data arrive faster to ensure that the server does not buffer excessively should data arrive faster
than expected.</p> than expected.</p>
<example> <highlight language="config">
CacheSocacheReadTime 1000 CacheSocacheReadTime 1000
</example> </highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>

View File

@ -81,12 +81,12 @@ files</description>
accessed. Set to "<code>.</code>" to look in the same directory accessed. Set to "<code>.</code>" to look in the same directory
as the file:</p> as the file:</p>
<example>MetaDir .</example> <highlight language="config">MetaDir .</highlight>
<p>Or, to set it to a subdirectory of the directory containing the <p>Or, to set it to a subdirectory of the directory containing the
files:</p> files:</p>
<example>MetaDir .meta</example> <highlight language="config">MetaDir .meta</highlight>
</usage> </usage>
</directivesynopsis> </directivesynopsis>

View File

@ -168,7 +168,9 @@
</p> </p>
<example><title>Example</title> <example><title>Example</title>
<highlight language="config">
ScriptLog logs/cgi_log ScriptLog logs/cgi_log
</highlight>
</example> </example>
<p>This log will be opened as the user the child processes run <p>This log will be opened as the user the child processes run

View File

@ -90,7 +90,9 @@ the cgi daemon</description>
write in the directory where the socket is located.</p> write in the directory where the socket is located.</p>
<example><title>Example</title> <example><title>Example</title>
<highlight language="config">
ScriptSock /var/run/cgid.sock ScriptSock /var/run/cgid.sock
</highlight>
</example> </example>
</usage> </usage>

View File

@ -102,12 +102,12 @@
supported by iconv.</p> supported by iconv.</p>
<example><title>Example</title> <example><title>Example</title>
&lt;Directory /export/home/trawick/apacheinst/htdocs/convert&gt;<br /> <highlight language="config">
<indent> &lt;Directory /export/home/trawick/apacheinst/htdocs/convert&gt;
CharsetSourceEnc UTF-16BE<br /> CharsetSourceEnc UTF-16BE
CharsetDefault ISO-8859-1<br /> CharsetDefault ISO-8859-1
</indent> &lt;/Directory&gt;
&lt;/Directory&gt; </highlight>
</example> </example>
<p>The character set names in this example work with the iconv <p>The character set names in this example work with the iconv
@ -143,12 +143,12 @@
supported by iconv.</p> supported by iconv.</p>
<example><title>Example</title> <example><title>Example</title>
&lt;Directory /export/home/trawick/apacheinst/htdocs/convert&gt;<br /> <highlight language="config">
<indent> &lt;Directory /export/home/trawick/apacheinst/htdocs/convert&gt;
CharsetSourceEnc UTF-16BE<br /> CharsetSourceEnc UTF-16BE
CharsetDefault ISO-8859-1<br /> CharsetDefault ISO-8859-1
</indent> &lt;/Directory&gt;
&lt;/Directory&gt; </highlight>
</example> </example>
<note> <note>