mod_reflector.html.en revision d29d9ab4614ff992b0e8de6e2b88d52b6f1f153e
64c02f1310b7747423957823ee09fb3608430f89nd<?xml version="1.0" encoding="ISO-8859-1"?>
64c02f1310b7747423957823ee09fb3608430f89nd<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
64c02f1310b7747423957823ee09fb3608430f89nd<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
64c02f1310b7747423957823ee09fb3608430f89nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
64c02f1310b7747423957823ee09fb3608430f89nd This file is generated from xml source: DO NOT EDIT
64c02f1310b7747423957823ee09fb3608430f89nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
64c02f1310b7747423957823ee09fb3608430f89nd -->
64c02f1310b7747423957823ee09fb3608430f89nd<title>mod_reflector - Apache HTTP Server</title>
64c02f1310b7747423957823ee09fb3608430f89nd<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
64c02f1310b7747423957823ee09fb3608430f89nd<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
2e545ce2450a9953665f701bb05350f0d3f26275nd<script src="/style/scripts/prettify.js" type="text/javascript">
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen</script>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
64c02f1310b7747423957823ee09fb3608430f89nd<link href="/images/favicon.ico" rel="shortcut icon" /></head>
64c02f1310b7747423957823ee09fb3608430f89nd<body>
64c02f1310b7747423957823ee09fb3608430f89nd<div id="page-header">
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<p class="apache">Apache HTTP Server Version 2.5</p>
64c02f1310b7747423957823ee09fb3608430f89nd<img alt="" src="/images/feather.gif" /></div>
64c02f1310b7747423957823ee09fb3608430f89nd<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
64c02f1310b7747423957823ee09fb3608430f89nd<div id="path">
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.5</a> &gt; <a href="./">Modules</a></div>
64c02f1310b7747423957823ee09fb3608430f89nd<div id="page-content">
64c02f1310b7747423957823ee09fb3608430f89nd<div id="preamble"><h1>Apache Module mod_reflector</h1>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd<div class="toplang">
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<p><span>Available Languages: </span><a href="/en/mod/mod_reflector.html" title="English">&nbsp;en&nbsp;</a></p>
0066eddda7203f6345b56f77d146a759298dc635gryzor</div>
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Reflect a request body as a response via the output filter stack.</td></tr>
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Base</td></tr>
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd<tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>reflector_module</td></tr>
64c02f1310b7747423957823ee09fb3608430f89nd<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>mod_reflector.c</td></tr>
64c02f1310b7747423957823ee09fb3608430f89nd<tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Version 2.3 and later</td></tr></table>
64c02f1310b7747423957823ee09fb3608430f89nd<h3>Summary</h3>
b09fcdfc59ada4712150e7bcc7b502bb9e4601d8rjung
64c02f1310b7747423957823ee09fb3608430f89nd <p>This module allows request bodies to be reflected back to the
64c02f1310b7747423957823ee09fb3608430f89nd client, in the process passing the request through the output filter
64c02f1310b7747423957823ee09fb3608430f89nd stack. A suitably configured chain of filters can be used to transform
64c02f1310b7747423957823ee09fb3608430f89nd the request into a response. This module can be used to turn an output
64c02f1310b7747423957823ee09fb3608430f89nd filter into an HTTP service.</p>
64c02f1310b7747423957823ee09fb3608430f89nd</div>
64c02f1310b7747423957823ee09fb3608430f89nd<div id="quickview"><h3 class="directives">Directives</h3>
64c02f1310b7747423957823ee09fb3608430f89nd<ul id="toc">
8e0c9984e1432c934dacca53efc92cde30d0fe53rbowen<li><img alt="" src="/images/down.gif" /> <a href="#reflectorheader">ReflectorHeader</a></li>
64c02f1310b7747423957823ee09fb3608430f89nd</ul>
64c02f1310b7747423957823ee09fb3608430f89nd<h3>Topics</h3>
64c02f1310b7747423957823ee09fb3608430f89nd<ul id="topics">
64c02f1310b7747423957823ee09fb3608430f89nd<li><img alt="" src="/images/down.gif" /> <a href="#examples">Examples</a></li>
64c02f1310b7747423957823ee09fb3608430f89nd</ul></div>
64c02f1310b7747423957823ee09fb3608430f89nd<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
64c02f1310b7747423957823ee09fb3608430f89nd<div class="section">
64c02f1310b7747423957823ee09fb3608430f89nd<h2><a name="examples" id="examples">Examples</a></h2>
64c02f1310b7747423957823ee09fb3608430f89nd <dl>
64c02f1310b7747423957823ee09fb3608430f89nd <dt>Compression service</dt>
64c02f1310b7747423957823ee09fb3608430f89nd <dd>Pass the request body through the DEFLATE filter to compress the
64c02f1310b7747423957823ee09fb3608430f89nd body. This request requires a Content-Encoding request header containing
64c02f1310b7747423957823ee09fb3608430f89nd "gzip" for the filter to return compressed data.
64c02f1310b7747423957823ee09fb3608430f89nd <div class="example"><p><code>
64c02f1310b7747423957823ee09fb3608430f89nd &lt;Location /compress&gt;<br />
64c02f1310b7747423957823ee09fb3608430f89nd SetHandler reflector<br />
64c02f1310b7747423957823ee09fb3608430f89nd SetOutputFilter DEFLATE<br />
64c02f1310b7747423957823ee09fb3608430f89nd &lt;/Location&gt;
64c02f1310b7747423957823ee09fb3608430f89nd </code></p></div>
64c02f1310b7747423957823ee09fb3608430f89nd </dd>
64c02f1310b7747423957823ee09fb3608430f89nd
64c02f1310b7747423957823ee09fb3608430f89nd <dt>Image downsampling service</dt>
64c02f1310b7747423957823ee09fb3608430f89nd <dd>Pass the request body through an image downsampling filter, and reflect
64c02f1310b7747423957823ee09fb3608430f89nd the results to the caller.
64c02f1310b7747423957823ee09fb3608430f89nd <div class="example"><p><code>
64c02f1310b7747423957823ee09fb3608430f89nd &lt;Location /downsample&gt;<br />
64c02f1310b7747423957823ee09fb3608430f89nd SetHandler reflector<br />
64c02f1310b7747423957823ee09fb3608430f89nd SetOutputFilter DOWNSAMPLE<br />
64c02f1310b7747423957823ee09fb3608430f89nd &lt;/Location&gt;
64c02f1310b7747423957823ee09fb3608430f89nd </code></p></div>
8951c7d73bfa2ae5a2c8fe5bd27f3e677be02564noirin </dd>
8951c7d73bfa2ae5a2c8fe5bd27f3e677be02564noirin </dl>
64c02f1310b7747423957823ee09fb3608430f89nd</div>
64c02f1310b7747423957823ee09fb3608430f89nd<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
64c02f1310b7747423957823ee09fb3608430f89nd<div class="directive-section"><h2><a name="ReflectorHeader" id="ReflectorHeader">ReflectorHeader</a> <a name="reflectorheader" id="reflectorheader">Directive</a></h2>
64c02f1310b7747423957823ee09fb3608430f89nd<table class="directive">
64c02f1310b7747423957823ee09fb3608430f89nd<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Reflect an input header to the output headers</td></tr>
9335f6d807d76d60e54af4ededdebebddb3e3d13noodl<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>ReflectorHeader <var>inputheader</var> <var>[outputheader]</var></code></td></tr>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory, .htaccess</td></tr>
64c02f1310b7747423957823ee09fb3608430f89nd<tr><th><a href="directive-dict.html#Override">Override:</a></th><td>Options</td></tr>
64c02f1310b7747423957823ee09fb3608430f89nd<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Base</td></tr>
64c02f1310b7747423957823ee09fb3608430f89nd<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_reflector</td></tr>
64c02f1310b7747423957823ee09fb3608430f89nd</table>
67c026fea89b4faf173772b5944b6aa006ca6eb0nd <p>This directive controls the reflection of request headers to the response.
64c02f1310b7747423957823ee09fb3608430f89nd The first argument is the name of the request header to copy. If the optional
64c02f1310b7747423957823ee09fb3608430f89nd second argument is specified, it will be used as the name of the response
64c02f1310b7747423957823ee09fb3608430f89nd header, otherwise the original request header name will be used.</p>
64c02f1310b7747423957823ee09fb3608430f89nd
64c02f1310b7747423957823ee09fb3608430f89nd</div>
64c02f1310b7747423957823ee09fb3608430f89nd</div>
64c02f1310b7747423957823ee09fb3608430f89nd<div class="bottomlang">
64c02f1310b7747423957823ee09fb3608430f89nd<p><span>Available Languages: </span><a href="/en/mod/mod_reflector.html" title="English">&nbsp;en&nbsp;</a></p>
64c02f1310b7747423957823ee09fb3608430f89nd</div><div id="footer">
64c02f1310b7747423957823ee09fb3608430f89nd<p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div><script type="text/javascript">
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic if (prettyPrint) {
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic prettyPrint();
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic }
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic</script>
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic</body></html>