2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
4 <!-- English Revision : 420990 -->
5 <!-- French translation : Lucien GENTIS -->
6 <!-- Reviewed by : Vincent Deffontaines -->
9 Licensed to the Apache Software Foundation (ASF) under one or more
10 contributor license agreements. See the NOTICE file distributed with
11 this work for additional information regarding copyright ownership.
12 The ASF licenses this file to You under the Apache License, Version 2.0
13 (the "License"); you may not use this file except in compliance with
14 the License. You may obtain a copy of the License at
16 http://www.apache.org/licenses/LICENSE-2.0
18 Unless required by applicable law or agreed to in writing, software
19 distributed under the License is distributed on an "AS IS" BASIS,
20 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 See the License for the specific language governing permissions and
22 limitations under the License.
25 <modulesynopsis metafile="mod_env.xml.meta">
28 <description>Modifie l'environnement transmis aux scripts CGI et aux
29 pages SSI</description>
31 <sourcefile>mod_env.c</sourcefile>
32 <identifier>env_module</identifier>
34 <p>Ce module permet de contrôler l'environnement transmis aux
35 scripts CGI et aux pages SSI. Les variables d'environnement peuvent
36 être transmises depuis le shell qui a lancé le processus
37 <program>httpd</program>. Elles peuvent également être définies ou
38 supprimées au cours du processus de configuration.</p>
40 <seealso><a href="../env.html">Variables d'environnement</a></seealso>
44 <description>Transmet des variables d'environnement depuis le
46 <syntax>PassEnv <var>var-env</var> [<var>var-env</var>]
48 <contextlist><context>server config</context><context>virtual host</context>
49 <context>directory</context><context>.htaccess</context></contextlist>
50 <override>FileInfo</override>
53 <p>Spécifie une ou plusieurs variables d'environnement à transmettre
54 aux scripts CGI et aux pages SSI depuis l'environnement du shell qui
55 a lancé le processus <program>httpd</program>.</p>
57 <example><title>Exemple</title>
58 PassEnv LD_LIBRARY_PATH
65 <description>Définit des variables d'environnement</description>
66 <syntax>SetEnv <var>var-env</var> <var>valeur</var></syntax>
67 <contextlist><context>server config</context><context>virtual host</context>
68 <context>directory</context><context>.htaccess</context></contextlist>
69 <override>FileInfo</override>
72 <p>Définit une variable d'environnement, cette dernière étant
73 ensuite transmise aux scripts CGI et aux pages SSI.</p>
75 <example><title>Exemple</title>
76 SetEnv SPECIAL_PATH /foo/bin
83 <description>Supprime des variables de l'environnement</description>
84 <syntax>UnsetEnv <var>var-env</var> [<var>var-env</var>]
86 <contextlist><context>server config</context><context>virtual host</context>
87 <context>directory</context><context>.htaccess</context></contextlist>
88 <override>FileInfo</override>
91 <p>Supprime une ou plusieurs variables d'environnement parmi celles
92 qui sont transmises aux scripts CGI et aux pages SSI.</p>
94 <example><title>Exemple</title>
95 UnsetEnv LD_LIBRARY_PATH