1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"><head>
4 <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" />
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7 This file is generated from xml source: DO NOT EDIT
8 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
10 <title>mod_reflector - Serveur Apache HTTP Version 2.5</title>
11 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
12 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
13 <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" />
14 <script src="../style/scripts/prettify.min.js" type="text/javascript">
17 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
19 <div id="page-header">
20 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p>
21 <p class="apache">Serveur Apache HTTP Version 2.5</p>
22 <img alt="" src="../images/feather.png" /></div>
23 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
25 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">Serveur HTTP</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.5</a> > <a href="./">Modules</a></div>
26 <div id="page-content">
27 <div id="preamble"><h1>Module Apache mod_reflector</h1>
29 <p><span>Langues Disponibles: </span><a href="../en/mod/mod_reflector.html" hreflang="en" rel="alternate" title="English"> en </a> |
30 <a href="../fr/mod/mod_reflector.html" title="Français"> fr </a></p>
32 <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Renvoie un corps de requête comme réponse via la pile de
33 filtres en sortie.</td></tr>
34 <tr><th><a href="module-dict.html#Status">Statut:</a></th><td>Base</td></tr>
35 <tr><th><a href="module-dict.html#ModuleIdentifier">Identificateur de Module:</a></th><td>reflector_module</td></tr>
36 <tr><th><a href="module-dict.html#SourceFile">Fichier Source:</a></th><td>mod_reflector.c</td></tr>
37 <tr><th><a href="module-dict.html#Compatibility">Compatibilité:</a></th><td>Versions 2.3 et ultérieures</td></tr></table>
40 <p>Ce module permet de renvoyer un corps de requête au client, après
41 l'avoir fait passer par la pile de filtres en sortie. Une chaîne de
42 filtres configurée de manière appropriée peut être utilisée pour
43 transformer la requête en réponse. Ce module peut ainsi être utilisé
44 pour transformer un filtre en sortie en service HTTP.</p>
46 <div id="quickview"><h3>Sujets</h3>
48 <li><img alt="" src="../images/down.gif" /> <a href="#examples">Exemples</a></li>
49 </ul><h3 class="directives">Directives</h3>
51 <li><img alt="" src="../images/down.gif" /> <a href="#reflectorheader">ReflectorHeader</a></li>
53 <h3>Traitement des bugs</h3><ul class="seealso"><li><a href="https://www.apache.org/dist/httpd/CHANGES_2.4">Journal des modifications de httpd</a></li><li><a href="https://bz.apache.org/bugzilla/buglist.cgi?bug_status=__open__&list_id=144532&product=Apache%20httpd-2&query_format=specific&order=changeddate%20DESC%2Cpriority%2Cbug_severity&component=mod_reflector">Problèmes connus</a></li><li><a href="https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&component=mod_reflector">Signaler un bug</a></li></ul><h3>Voir aussi</h3>
55 <li><a href="#comments_section">Commentaires</a></li></ul></div>
56 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
58 <h2><a name="examples" id="examples">Exemples</a><a title="Lien permanent" href="#examples" class="permalink">¶</a></h2>
60 <dt>Service de compression</dt>
61 <dd>Fait passer le corps de la requête par le filtre DEFLATE pour le
62 compresser. Cette requête nécessite un en-tête Content-Encoding
63 contenant la valeur "gzip" pour que le filtre renvoie les données
65 <pre class="prettyprint lang-config"><Location "/compress">
67 SetOutputFilter DEFLATE
68 </Location></pre>
72 <dt>Service d'abaissement de l'échantillonnage d'image</dt>
73 <dd>Fait passer le corps de la requête par un filtre d'abaissement
74 de l'échantillonnage d'image, et renvoie le résultat au client.
75 <pre class="prettyprint lang-config"><Location "/downsample">
77 SetOutputFilter DOWNSAMPLE
78 </Location></pre>
83 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
84 <div class="directive-section"><h2><a name="reflectorheader" id="reflectorheader">Directive</a> <a name="ReflectorHeader" id="ReflectorHeader">ReflectorHeader</a><a title="Lien permanent" href="#reflectorheader" class="permalink">¶</a></h2>
85 <table class="directive">
86 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Renvoie un en-tête d'entrée dans les en-têtes de sortie</td></tr>
87 <tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>ReflectorHeader <var>en-tête-entrée</var> <var>[en-tête-sortie]</var></code></td></tr>
88 <tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>configuration du serveur, serveur virtuel, répertoire, .htaccess</td></tr>
89 <tr><th><a href="directive-dict.html#Override">AllowOverride:</a></th><td>Options</td></tr>
90 <tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Base</td></tr>
91 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_reflector</td></tr>
93 <p>Cette directive permet de contrôler la répercution des en-têtes
94 de la requête dans la réponse. Le premier argument correspond au nom
95 de l'en-tête à copier. Si le second argument (optionnel) est
96 spécifié, il définit le nom sous lequel l'en-tête sera répercuté
97 dans la réponse ; dans le cas contraire, c'est le nom de l'en-tête
98 original qui sera utilisé.</p>
102 <div class="bottomlang">
103 <p><span>Langues Disponibles: </span><a href="../en/mod/mod_reflector.html" hreflang="en" rel="alternate" title="English"> en </a> |
104 <a href="../fr/mod/mod_reflector.html" title="Français"> fr </a></p>
105 </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Commentaires</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
106 <script type="text/javascript"><!--//--><![CDATA[//><!--
107 var comments_shortname = 'httpd';
108 var comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_reflector.html';
110 if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
111 d.write('<div id="comments_thread"><\/div>');
112 var s = d.createElement('script');
113 s.type = 'text/javascript';
115 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
116 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
119 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
121 })(window, document);
122 //--><!]]></script></div><div id="footer">
123 <p class="apache">Copyright 2018 The Apache Software Foundation.<br />Autorisé sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
124 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/quickreference.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
125 if (typeof(prettyPrint) !== 'undefined') {