0066eddda7203f6345b56f77d146a759298dc635gryzor<?xml version="1.0" encoding="ISO-8859-1"?>
0066eddda7203f6345b56f77d146a759298dc635gryzor<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"><head>
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" />
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd<!--
0066eddda7203f6345b56f77d146a759298dc635gryzor XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
0066eddda7203f6345b56f77d146a759298dc635gryzor This file is generated from xml source: DO NOT EDIT
0066eddda7203f6345b56f77d146a759298dc635gryzor XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
0066eddda7203f6345b56f77d146a759298dc635gryzor -->
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc<title>mod_env - Serveur Apache HTTP Version 2.5</title>
0066eddda7203f6345b56f77d146a759298dc635gryzor<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
0066eddda7203f6345b56f77d146a759298dc635gryzor<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.min.js" type="text/javascript">
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen</script>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
0066eddda7203f6345b56f77d146a759298dc635gryzor<link href="/images/favicon.ico" rel="shortcut icon" /></head>
0066eddda7203f6345b56f77d146a759298dc635gryzor<body>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div id="page-header">
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<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>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<p class="apache">Serveur Apache HTTP Version 2.5</p>
0066eddda7203f6345b56f77d146a759298dc635gryzor<img alt="" src="/images/feather.gif" /></div>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div id="path">
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">Serveur HTTP</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.5</a> &gt; <a href="./">Modules</a></div>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div id="page-content">
0066eddda7203f6345b56f77d146a759298dc635gryzor<div id="preamble"><h1>Module Apache mod_env</h1>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div class="toplang">
0066eddda7203f6345b56f77d146a759298dc635gryzor<p><span>Langues Disponibles: </span><a href="/en/mod/mod_env.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
0066eddda7203f6345b56f77d146a759298dc635gryzor<a href="/fr/mod/mod_env.html" title="Fran�ais">&nbsp;fr&nbsp;</a> |
0066eddda7203f6345b56f77d146a759298dc635gryzor<a href="/ja/mod/mod_env.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
0066eddda7203f6345b56f77d146a759298dc635gryzor<a href="/ko/mod/mod_env.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<a href="/tr/mod/mod_env.html" hreflang="tr" rel="alternate" title="T�rk�e">&nbsp;tr&nbsp;</a></p>
0066eddda7203f6345b56f77d146a759298dc635gryzor</div>
0066eddda7203f6345b56f77d146a759298dc635gryzor<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Modifie l'environnement transmis aux scripts CGI et aux
0066eddda7203f6345b56f77d146a759298dc635gryzorpages SSI</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="module-dict.html#Status">Statut:</a></th><td>Base</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="module-dict.html#ModuleIdentifier">Identificateur�de�Module:</a></th><td>env_module</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="module-dict.html#SourceFile">Fichier�Source:</a></th><td>mod_env.c</td></tr></table>
0066eddda7203f6345b56f77d146a759298dc635gryzor<h3>Sommaire</h3>
0066eddda7203f6345b56f77d146a759298dc635gryzor
cd8142d105a47b208d863bea7cdb540727a5f02digalic <p>Ce module permet de contr�ler les variables d'environnement
cd8142d105a47b208d863bea7cdb540727a5f02digalic internes utilis�es par divers modules du serveur HTTP Apache. Ces
cd8142d105a47b208d863bea7cdb540727a5f02digalic variables sont aussi accessibles aux scripts CGI en tant que
cd8142d105a47b208d863bea7cdb540727a5f02digalic variables d'environnement syst�me natives, et disponibles dans les
cd8142d105a47b208d863bea7cdb540727a5f02digalic pages SSI. Les variables d'environnement peuvent
0066eddda7203f6345b56f77d146a759298dc635gryzor �tre transmises depuis le shell qui a lanc� le processus
0066eddda7203f6345b56f77d146a759298dc635gryzor <code class="program"><a href="/programs/httpd.html">httpd</a></code>. Elles peuvent �galement �tre d�finies ou
0066eddda7203f6345b56f77d146a759298dc635gryzor supprim�es au cours du processus de configuration.</p>
0066eddda7203f6345b56f77d146a759298dc635gryzor</div>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div id="quickview"><h3 class="directives">Directives</h3>
0066eddda7203f6345b56f77d146a759298dc635gryzor<ul id="toc">
0066eddda7203f6345b56f77d146a759298dc635gryzor<li><img alt="" src="/images/down.gif" /> <a href="#passenv">PassEnv</a></li>
0066eddda7203f6345b56f77d146a759298dc635gryzor<li><img alt="" src="/images/down.gif" /> <a href="#setenv">SetEnv</a></li>
0066eddda7203f6345b56f77d146a759298dc635gryzor<li><img alt="" src="/images/down.gif" /> <a href="#unsetenv">UnsetEnv</a></li>
0066eddda7203f6345b56f77d146a759298dc635gryzor</ul>
0066eddda7203f6345b56f77d146a759298dc635gryzor<h3>Voir aussi</h3>
0066eddda7203f6345b56f77d146a759298dc635gryzor<ul class="seealso">
0066eddda7203f6345b56f77d146a759298dc635gryzor<li><a href="/env.html">Variables d'environnement</a></li>
cd8142d105a47b208d863bea7cdb540727a5f02digalic<li><code class="directive"><a href="/mod/mod_setenvif.html#setenvif">SetEnvIf</a></code></li>
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh</ul><ul class="seealso"><li><a href="#comments_section">Commentaires</a></li></ul></div>
1f1b6bf13313fdd14a45e52e553d3ff28689b717coar
0066eddda7203f6345b56f77d146a759298dc635gryzor<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
e3e52ec6993de04bb0100e098ce0a569c7001382lgentis<div class="directive-section"><h2><a name="passenv" id="passenv">Directive</a> <a name="PassEnv" id="PassEnv">PassEnv</a></h2>
0066eddda7203f6345b56f77d146a759298dc635gryzor<table class="directive">
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Transmet des variables d'environnement depuis le
0066eddda7203f6345b56f77d146a759298dc635gryzorshell</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>PassEnv <var>var-env</var> [<var>var-env</var>]
0066eddda7203f6345b56f77d146a759298dc635gryzor...</code></td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>configuration du serveur, serveur virtuel, r�pertoire, .htaccess</td></tr>
fed47023e9be04c612b5f6d4a5ee2b8e7c587181rbowen<tr><th><a href="directive-dict.html#Override">AllowOverride:</a></th><td>FileInfo</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Base</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_env</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor</table>
cd8142d105a47b208d863bea7cdb540727a5f02digalic <p>Cette directive permet de sp�cifier quelles variables
cd8142d105a47b208d863bea7cdb540727a5f02digalic d'environnement syst�me natives doivent �tre disponibles en tant que
cd8142d105a47b208d863bea7cdb540727a5f02digalic variables d'environnement internes pour les modules du serveur HTTP
cd8142d105a47b208d863bea7cdb540727a5f02digalic Apache, et propag�es vers les scripts CGI et les pages SSI. Leurs
cd8142d105a47b208d863bea7cdb540727a5f02digalic valeurs sont issues de l'environnement natif de l'OS associ� au
cd8142d105a47b208d863bea7cdb540727a5f02digalic shell qui a invoqu� le processus <code class="program"><a href="/programs/httpd.html">httpd</a></code>.</p>
0066eddda7203f6345b56f77d146a759298dc635gryzor
20f499565e77defe9dab24dd85c02f38a1175855nd <div class="example"><h3>Exemple</h3><pre class="prettyprint lang-config">PassEnv LD_LIBRARY_PATH</pre>
fd5a091eb07540ab440f8ac3a277caa590be46c1humbedooh</div>
0066eddda7203f6345b56f77d146a759298dc635gryzor
0066eddda7203f6345b56f77d146a759298dc635gryzor</div>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
e3e52ec6993de04bb0100e098ce0a569c7001382lgentis<div class="directive-section"><h2><a name="setenv" id="setenv">Directive</a> <a name="SetEnv" id="SetEnv">SetEnv</a></h2>
0066eddda7203f6345b56f77d146a759298dc635gryzor<table class="directive">
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>D�finit des variables d'environnement</td></tr>
3eb3e9ec9cf7a169a917d660a28241de54241773rbowen<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>SetEnv <var>var-env</var> [<var>valeur</var>]</code></td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>configuration du serveur, serveur virtuel, r�pertoire, .htaccess</td></tr>
fed47023e9be04c612b5f6d4a5ee2b8e7c587181rbowen<tr><th><a href="directive-dict.html#Override">AllowOverride:</a></th><td>FileInfo</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Base</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_env</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor</table>
cd8142d105a47b208d863bea7cdb540727a5f02digalic <p>D�finit une variable d'environnement interne, cette derni�re �tant
cd8142d105a47b208d863bea7cdb540727a5f02digalic ensuite disponible pour les modules du serveur HTTP Apache et
cd8142d105a47b208d863bea7cdb540727a5f02digalic transmise aux scripts CGI et aux pages SSI.</p>
0066eddda7203f6345b56f77d146a759298dc635gryzor
20f499565e77defe9dab24dd85c02f38a1175855nd <div class="example"><h3>Exemple</h3><pre class="prettyprint lang-config">SetEnv SPECIAL_PATH /foo/bin</pre>
fd5a091eb07540ab440f8ac3a277caa590be46c1humbedooh</div>
3eb3e9ec9cf7a169a917d660a28241de54241773rbowen
3eb3e9ec9cf7a169a917d660a28241de54241773rbowen <p>Si l'argument <var>valeur</var> est absent, la variable est
3eb3e9ec9cf7a169a917d660a28241de54241773rbowen d�finie � la valeur d'une cha�ne vide.</p>
3eb3e9ec9cf7a169a917d660a28241de54241773rbowen
cd8142d105a47b208d863bea7cdb540727a5f02digalic <div class="note"><p>Les variables d'environnement internes d�finies par cette
cd8142d105a47b208d863bea7cdb540727a5f02digalic directive le sont <em>apr�s</em> l'ex�cution de la plupart des
cd8142d105a47b208d863bea7cdb540727a5f02digalic directives du traitement initial des requ�tes, comme les contr�les
cd8142d105a47b208d863bea7cdb540727a5f02digalic d'acc�s et la mise en correspondance des URIs avec les noms de
cd8142d105a47b208d863bea7cdb540727a5f02digalic fichiers. Si la variable d'environnement est sens�e intervenir au
cd8142d105a47b208d863bea7cdb540727a5f02digalic cours de cette phase initiale du traitement, par exemple pour la
cd8142d105a47b208d863bea7cdb540727a5f02digalic directive <code class="directive"><a href="/mod/mod_rewrite.html#rewriterule">RewriteRule</a></code>,
a1ceb0cd0152edea3c72f4d9dcb352bae6ef273fjorton vous devez plut�t utiliser la directive <code class="directive"><a href="/mod/mod_setenvif.html#setenvif">SetEnvIf</a></code> pour d�finir cette
cd8142d105a47b208d863bea7cdb540727a5f02digalic variable.</p>
cd8142d105a47b208d863bea7cdb540727a5f02digalic </div>
0066eddda7203f6345b56f77d146a759298dc635gryzor
cd8142d105a47b208d863bea7cdb540727a5f02digalic
cd8142d105a47b208d863bea7cdb540727a5f02digalic<h3>Voir aussi</h3>
cd8142d105a47b208d863bea7cdb540727a5f02digalic<ul>
cd8142d105a47b208d863bea7cdb540727a5f02digalic<li><a href="/env.html">Variables d'environnement</a></li>
cd8142d105a47b208d863bea7cdb540727a5f02digalic</ul>
0066eddda7203f6345b56f77d146a759298dc635gryzor</div>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
e3e52ec6993de04bb0100e098ce0a569c7001382lgentis<div class="directive-section"><h2><a name="unsetenv" id="unsetenv">Directive</a> <a name="UnsetEnv" id="UnsetEnv">UnsetEnv</a></h2>
0066eddda7203f6345b56f77d146a759298dc635gryzor<table class="directive">
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Supprime des variables de l'environnement</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>UnsetEnv <var>var-env</var> [<var>var-env</var>]
0066eddda7203f6345b56f77d146a759298dc635gryzor...</code></td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>configuration du serveur, serveur virtuel, r�pertoire, .htaccess</td></tr>
fed47023e9be04c612b5f6d4a5ee2b8e7c587181rbowen<tr><th><a href="directive-dict.html#Override">AllowOverride:</a></th><td>FileInfo</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Base</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_env</td></tr>
0066eddda7203f6345b56f77d146a759298dc635gryzor</table>
cd8142d105a47b208d863bea7cdb540727a5f02digalic <p>Supprime une ou plusieurs variables d'environnement internes parmi celles
0066eddda7203f6345b56f77d146a759298dc635gryzor qui sont transmises aux scripts CGI et aux pages SSI.</p>
0066eddda7203f6345b56f77d146a759298dc635gryzor
20f499565e77defe9dab24dd85c02f38a1175855nd <div class="example"><h3>Exemple</h3><pre class="prettyprint lang-config">UnsetEnv LD_LIBRARY_PATH</pre>
fd5a091eb07540ab440f8ac3a277caa590be46c1humbedooh</div>
0066eddda7203f6345b56f77d146a759298dc635gryzor
0066eddda7203f6345b56f77d146a759298dc635gryzor</div>
0066eddda7203f6345b56f77d146a759298dc635gryzor</div>
0066eddda7203f6345b56f77d146a759298dc635gryzor<div class="bottomlang">
0066eddda7203f6345b56f77d146a759298dc635gryzor<p><span>Langues Disponibles: </span><a href="/en/mod/mod_env.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
0066eddda7203f6345b56f77d146a759298dc635gryzor<a href="/fr/mod/mod_env.html" title="Fran�ais">&nbsp;fr&nbsp;</a> |
0066eddda7203f6345b56f77d146a759298dc635gryzor<a href="/ja/mod/mod_env.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
0066eddda7203f6345b56f77d146a759298dc635gryzor<a href="/ko/mod/mod_env.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<a href="/tr/mod/mod_env.html" hreflang="tr" rel="alternate" title="T�rk�e">&nbsp;tr&nbsp;</a></p>
727872d18412fc021f03969b8641810d8896820bhumbedooh</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&amp;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>
0d0ba3a410038e179b695446bb149cce6264e0abnd<script type="text/javascript"><!--//--><![CDATA[//><!--
727872d18412fc021f03969b8641810d8896820bhumbedoohvar comments_shortname = 'httpd';
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedoohvar comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_env.html';
0d0ba3a410038e179b695446bb149cce6264e0abnd(function(w, d) {
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
727872d18412fc021f03969b8641810d8896820bhumbedooh d.write('<div id="comments_thread"><\/div>');
0d0ba3a410038e179b695446bb149cce6264e0abnd var s = d.createElement('script');
0d0ba3a410038e179b695446bb149cce6264e0abnd s.type = 'text/javascript';
0d0ba3a410038e179b695446bb149cce6264e0abnd s.async = true;
ac082aefa89416cbdc9a1836eaf3bed9698201c8humbedooh s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
0d0ba3a410038e179b695446bb149cce6264e0abnd (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
0d0ba3a410038e179b695446bb149cce6264e0abnd }
0d0ba3a410038e179b695446bb149cce6264e0abnd else {
727872d18412fc021f03969b8641810d8896820bhumbedooh d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
0d0ba3a410038e179b695446bb149cce6264e0abnd }
0d0ba3a410038e179b695446bb149cce6264e0abnd})(window, document);
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh//--><!]]></script></div><div id="footer">
205f749042ed530040a4f0080dbcb47ceae8a374rjung<p class="apache">Copyright 2015 The Apache Software Foundation.<br />Autoris� sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<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[//><!--
0d0ba3a410038e179b695446bb149cce6264e0abndif (typeof(prettyPrint) !== 'undefined') {
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd prettyPrint();
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd}
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd//--><!]]></script>
0066eddda7203f6345b56f77d146a759298dc635gryzor</body></html>