diff options
author | Nick Kew <niq@apache.org> | 2010-07-23 00:50:12 +0200 |
---|---|---|
committer | Nick Kew <niq@apache.org> | 2010-07-23 00:50:12 +0200 |
commit | ae121d4499d8469d9a46967e21bef9a2cb654f52 (patch) | |
tree | b0bc59cebb5e9aad91742e58e9c05e12d8efb12b /docs/manual/mod/core.xml | |
parent | Support multiple names in reimplemented AddOutputFilterByType (diff) | |
download | apache2-ae121d4499d8469d9a46967e21bef9a2cb654f52.tar.xz apache2-ae121d4499d8469d9a46967e21bef9a2cb654f52.zip |
Update documentation for AddOutputFilterByType move
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966890 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/core.xml')
-rw-r--r-- | docs/manual/mod/core.xml | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/docs/manual/mod/core.xml b/docs/manual/mod/core.xml index 56dace07d4..cf15616c71 100644 --- a/docs/manual/mod/core.xml +++ b/docs/manual/mod/core.xml @@ -259,71 +259,6 @@ content-type is <code>text/plain</code> or <code>text/html</code></description> </directivesynopsis> <directivesynopsis> -<name>AddOutputFilterByType</name> -<description>assigns an output filter to a particular media-type</description> -<syntax>AddOutputFilterByType <var>filter</var>[;<var>filter</var>...] -<var>media-type</var> [<var>media-type</var>] ...</syntax> -<contextlist><context>server config</context> -<context>virtual host</context><context>directory</context> -<context>.htaccess</context></contextlist> -<override>FileInfo</override> -<compatibility>Available in Apache httpd 2.0.33 and later; deprecated in Apache httpd 2.1 and later</compatibility> - -<usage> - <p>This directive activates a particular output <a - href="../filter.html">filter</a> for a request depending on the - response <glossary>media-type</glossary>. Because of certain - problems discussed below, this directive is deprecated. The same - functionality is available using <module>mod_filter</module>.</p> - - <p>The following example uses the <code>DEFLATE</code> filter, which - is provided by <module>mod_deflate</module>. It will compress all - output (either static or dynamic) which is labeled as - <code>text/html</code> or <code>text/plain</code> before it is sent - to the client.</p> - - <example> - AddOutputFilterByType DEFLATE text/html text/plain - </example> - - <p>If you want the content to be processed by more than one filter, their - names have to be separated by semicolons. It's also possible to use one - <directive>AddOutputFilterByType</directive> directive for each of - these filters.</p> - - <p>The configuration below causes all script output labeled as - <code>text/html</code> to be processed at first by the - <code>INCLUDES</code> filter and then by the <code>DEFLATE</code> - filter.</p> - - <example> - <Location /cgi-bin/><br /> - <indent> - Options Includes<br /> - AddOutputFilterByType INCLUDES;DEFLATE text/html<br /> - </indent> - </Location> - </example> - - <note type="warning"><title>Note</title> - <p>Enabling filters with <directive>AddOutputFilterByType</directive> - may fail partially or completely in some cases. For example, no - filters are applied if the <glossary>media-type</glossary> could not - be determined. If you want to make sure that the filters will be - applied, assign the content type to a resource explicitly; for - example, with <directive module="mod_mime">AddType</directive> or - <directive module="core">ForceType</directive>. Setting the - content type within a (non-nph) CGI script is also safe.</p> - - </note> -</usage> - -<seealso><directive module="mod_mime">AddOutputFilter</directive></seealso> -<seealso><directive module="core">SetOutputFilter</directive></seealso> -<seealso><a href="../filter.html">filters</a></seealso> -</directivesynopsis> - -<directivesynopsis> <name>AllowEncodedSlashes</name> <description>Determines whether encoded path separators in URLs are allowed to be passed through</description> |