mirror of
https://github.com/apache/httpd.git
synced 2025-08-06 11:06:17 +00:00
XML updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1677330 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
|
||||
<!-- English Revision: 1421821:1673582 (outdated) -->
|
||||
<!-- English Revision: 1673582 -->
|
||||
<!-- French translation : Lucien GENTIS -->
|
||||
<!-- Reviewed by : Vincent Deffontaines -->
|
||||
|
||||
@ -96,11 +96,11 @@ fichiers</description>
|
||||
<code>smith</code>.</p>
|
||||
|
||||
<highlight language="config">
|
||||
<Directory /home/*/public_html/private>
|
||||
<Directory "/home/*/public_html/private">
|
||||
AuthType Basic
|
||||
AuthName MyPrivateFiles
|
||||
AuthName "MyPrivateFiles"
|
||||
AuthBasicProvider dbm
|
||||
AuthDBMUserFile /usr/local/apache2/etc/.htdbm-all
|
||||
AuthDBMUserFile "/usr/local/apache2/etc/.htdbm-all"
|
||||
Require file-owner
|
||||
</Directory>
|
||||
</highlight>
|
||||
@ -121,14 +121,14 @@ fichiers</description>
|
||||
répertoires <code>project-foo</code> de chacun d'entre eux.</p>
|
||||
|
||||
<highlight language="config">
|
||||
<Directory /home/*/public_html/project-foo>
|
||||
<Directory "/home/*/public_html/project-foo">
|
||||
AuthType Basic
|
||||
AuthName "Project Foo Files"
|
||||
AuthBasicProvider dbm
|
||||
|
||||
# combined user/group database
|
||||
AuthDBMUserFile /usr/local/apache2/etc/.htdbm-all
|
||||
AuthDBMGroupFile /usr/local/apache2/etc/.htdbm-all
|
||||
AuthDBMUserFile "/usr/local/apache2/etc/.htdbm-all"
|
||||
AuthDBMGroupFile "/usr/local/apache2/etc/.htdbm-all"
|
||||
|
||||
Satisfy All
|
||||
Require file-group
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
|
||||
<!-- English Revision: 1336590:1673932 (outdated) -->
|
||||
<!-- English Revision: 1673932 -->
|
||||
<!-- French translation : Lucien GENTIS -->
|
||||
<!-- Reviewed by : Vincent Deffontaines -->
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
|
||||
<!-- English Revision: 1535125:1673947 (outdated) -->
|
||||
<!-- English Revision : 1673947 -->
|
||||
<!-- French translation : Lucien GENTIS -->
|
||||
<!-- Reviewed by : Vincent Deffontaines -->
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
|
||||
<!-- English Revision: 1330980:1673945 (outdated) -->
|
||||
<!-- English Revision: 1673945 -->
|
||||
<!-- French translation : Lucien GENTIS -->
|
||||
<!-- Reviewed by : Vincent Deffontaines -->
|
||||
|
||||
@ -41,8 +41,8 @@ modems. Ainsi, il est possible de naviguer sur votre site avec un modem
|
||||
56k V.92 en positionnant une configuration de ce type :</p>
|
||||
|
||||
<highlight language="config">
|
||||
<Location /mysite>
|
||||
ModemStandard V.92
|
||||
<Location "/mysite">
|
||||
ModemStandard "V.92"
|
||||
</Location>
|
||||
</highlight>
|
||||
|
||||
@ -67,8 +67,8 @@ client.</p>
|
||||
souhaitez simuler.</p>
|
||||
|
||||
<highlight language="config">
|
||||
<Location /mysite>
|
||||
ModemStandard V.26bis
|
||||
<Location "/mysite">
|
||||
ModemStandard "V.26bis"
|
||||
</Location>
|
||||
</highlight>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
|
||||
<!-- English Revision: 1629244:1673892 (outdated) -->
|
||||
<!-- English Revision: 1673892 -->
|
||||
<!-- French translation : Lucien GENTIS -->
|
||||
<!-- Reviewed by : Vincent Deffontaines -->
|
||||
|
||||
@ -110,7 +110,7 @@
|
||||
<p>Pour activer le module example_hooks, ajoutez à votre fichier
|
||||
<code>httpd.conf</code> un bloc du style :</p>
|
||||
<highlight language="config">
|
||||
<Location /example-hooks-info>
|
||||
<Location "/example-hooks-info">
|
||||
SetHandler example-hooks-handler
|
||||
</Location>
|
||||
</highlight>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
|
||||
<!-- English Revision: 1669200:1673945 (outdated) -->
|
||||
<!-- English Revision: 1673945 -->
|
||||
<!-- French translation : Lucien GENTIS -->
|
||||
<!-- Reviewed by : Vincent Deffontaines -->
|
||||
|
||||
@ -98,7 +98,7 @@ ExtFilterDefine c-to-html mode=output \
|
||||
# la directive de mod_ext_filter qui définit le filtre externe
|
||||
ExtFilterDefine gzip mode=output cmd=/bin/gzip
|
||||
|
||||
<Location /gzipped>
|
||||
<Location "/gzipped">
|
||||
|
||||
# directive de base permettant de traiter la sortie avec le
|
||||
# filtre gzip
|
||||
@ -122,7 +122,7 @@ ExtFilterDefine gzip mode=output cmd=/bin/gzip
|
||||
ExtFilterDefine slowdown mode=output cmd=/bin/cat \
|
||||
preservescontentlength
|
||||
|
||||
<Location />
|
||||
<Location "/">
|
||||
# directive de base permettant de traiter plusieurs fois la
|
||||
# sortie avec le filtre slowdown
|
||||
#
|
||||
@ -141,7 +141,7 @@ ExtFilterDefine slowdown mode=output cmd=/bin/cat \
|
||||
ExtFilterDefine fixtext mode=output intype=text/html \
|
||||
cmd="/bin/sed s/verdana/arial/g"
|
||||
|
||||
<Location />
|
||||
<Location "/">
|
||||
# directive de base permettant de traiter la sortie avec le
|
||||
# filtre fixtext
|
||||
SetOutputFilter fixtext
|
||||
@ -177,7 +177,7 @@ ExtFilterDefine traceafter \
|
||||
cmd="/bin/tracefilter.pl /tmp/traceafter" \
|
||||
EnableEnv=trace_this_client ftype=21
|
||||
|
||||
<Directory /usr/local/docs>
|
||||
<Directory "/usr/local/docs">
|
||||
SetEnvIf Remote_Addr 192.168.1.31 trace_this_client
|
||||
SetOutputFilter tracebefore;deflate;traceafter
|
||||
</Directory>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
|
||||
<!-- English Revision: 579425:1675533 (outdated) -->
|
||||
<!-- English Revision: 579425:1677210 (outdated) -->
|
||||
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="EUC-KR" ?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
|
||||
<!-- English Revision: 105989:1675533 (outdated) -->
|
||||
<!-- English Revision: 105989:1677210 (outdated) -->
|
||||
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
|
||||
<!-- English Revision: 1310330:1675533 (outdated) -->
|
||||
<!-- English Revision: 1310330:1677210 (outdated) -->
|
||||
<!-- =====================================================
|
||||
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
|
||||
Reviewed by: Orhan Berent <berent belgeler.org>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
|
||||
<!-- English Revision: 1659902:1673932 (outdated) -->
|
||||
<!-- English Revision: 1673932 -->
|
||||
<!-- French translation : Lucien GENTIS -->
|
||||
<!-- Reviewed by : Vincent Deffontaines -->
|
||||
|
||||
@ -168,8 +168,8 @@
|
||||
|
||||
<example><title>Mandataire inverse</title>
|
||||
<highlight language="config">
|
||||
ProxyPass /foo http://foo.example.com/bar
|
||||
ProxyPassReverse /foo http://foo.example.com/bar
|
||||
ProxyPass "/foo" "http://foo.example.com/bar"
|
||||
ProxyPassReverse "/foo" "http://foo.example.com/bar"
|
||||
</highlight>
|
||||
</example>
|
||||
|
||||
@ -196,7 +196,7 @@ ProxyVia On
|
||||
|
||||
<example><title>Scripts PHP et mandataire inverse</title>
|
||||
<highlight language="config">
|
||||
<FilesMatch \.php$>
|
||||
<FilesMatch "\.php$">
|
||||
SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/"
|
||||
</FilesMatch>
|
||||
</highlight>
|
||||
@ -231,7 +231,7 @@ ProxyVia On
|
||||
|
||||
<example>
|
||||
<highlight language="config">
|
||||
ProxyPass /example http://backend.example.com connectiontimeout=5 timeout=30
|
||||
ProxyPass "/example" "http://backend.example.com" connectiontimeout=5 timeout=30
|
||||
</highlight>
|
||||
</example>
|
||||
|
||||
@ -277,8 +277,8 @@ ProxyVia On
|
||||
original, y compris un éventuel chemin donné :</p>
|
||||
|
||||
<highlight language="config">
|
||||
ProxyPass /examples http://backend.example.com/examples
|
||||
ProxyPass /docs http://backend.example.com/docs
|
||||
ProxyPass "/examples" "http://backend.example.com/examples"
|
||||
ProxyPass "/docs" "http://backend.example.com/docs"
|
||||
</highlight>
|
||||
|
||||
<p>Dans cet exemple, deux workers différents sont définis, chacun
|
||||
@ -292,8 +292,8 @@ ProxyPass /docs http://backend.example.com/docs
|
||||
dans le fichier de configuration. Dans l'exemple suivant,</p>
|
||||
|
||||
<highlight language="config">
|
||||
ProxyPass /apps http://backend.example.com/ timeout=60
|
||||
ProxyPass /examples http://backend.example.com/examples timeout=10
|
||||
ProxyPass "/apps" "http://backend.example.com/" timeout=60
|
||||
ProxyPass "/examples" "http://backend.example.com/examples" timeout=10
|
||||
</highlight>
|
||||
|
||||
<p>le second worker n'est pas vraiment créé. C'est le premier
|
||||
@ -431,8 +431,8 @@ ProxyPass /examples http://backend.example.com/examples timeout=10
|
||||
<code>proxy-nokeepalive</code>.</p>
|
||||
|
||||
<highlight language="config">
|
||||
<Location /buggyappserver/>
|
||||
ProxyPass http://buggyappserver:7001/foo/
|
||||
<Location "/buggyappserver/">
|
||||
ProxyPass "http://buggyappserver:7001/foo/"
|
||||
SetEnv force-proxy-request-1.0 1
|
||||
SetEnv proxy-nokeepalive 1
|
||||
</Location>
|
||||
@ -1004,8 +1004,8 @@ de la version 2.4.7 du serveur HTTP Apache</compatibility>
|
||||
<code>http://example.com/</code> ; alors la ligne</p>
|
||||
|
||||
<highlight language="config">
|
||||
<Location /mirror/foo/>
|
||||
ProxyPass http://backend.example.com/
|
||||
<Location "/mirror/foo/">
|
||||
ProxyPass "http://backend.example.com/"
|
||||
</Location>
|
||||
</highlight>
|
||||
|
||||
@ -1020,7 +1020,7 @@ de la version 2.4.7 du serveur HTTP Apache</compatibility>
|
||||
href="mod_proxy_balancer.html#balancer_manager">Balancer Manager</a> :</p>
|
||||
|
||||
<highlight language="config">
|
||||
ProxyPass /miroir/foo/ http://backend.example.com/
|
||||
ProxyPass "/miroir/foo/" "http://backend.example.com/"
|
||||
</highlight>
|
||||
|
||||
<note type="warning">
|
||||
@ -1036,17 +1036,17 @@ de la version 2.4.7 du serveur HTTP Apache</compatibility>
|
||||
du mandat inverse, comme dans l'exemple suivant :</p>
|
||||
|
||||
<highlight language="config">
|
||||
<Location /mirror/foo/>
|
||||
ProxyPass http://backend.example.com/
|
||||
<Location "/mirror/foo/">
|
||||
ProxyPass "http://backend.example.com/"
|
||||
</Location>
|
||||
<Location /mirror/foo/i>
|
||||
ProxyPass !
|
||||
<Location "/mirror/foo/i">
|
||||
ProxyPass "!"
|
||||
</Location>
|
||||
</highlight>
|
||||
|
||||
<highlight language="config">
|
||||
ProxyPass /mirror/foo/i !
|
||||
ProxyPass /mirror/foo http://backend.example.com
|
||||
ProxyPass "/mirror/foo/i" "!"
|
||||
ProxyPass "/mirror/foo" "http://backend.example.com"
|
||||
</highlight>
|
||||
|
||||
<p>va mandater toutes les requêtes pour <code>/miroir/foo</code>
|
||||
@ -1105,7 +1105,7 @@ ProxyPass /mirror/foo http://backend.example.com
|
||||
|
||||
<example><title>Exemple</title>
|
||||
<highlight language="config">
|
||||
ProxyPass /example http://backend.example.com max=20 ttl=120 retry=300
|
||||
ProxyPass "/example" "http://backend.example.com" max=20 ttl=120 retry=300
|
||||
</highlight>
|
||||
</example>
|
||||
|
||||
@ -1451,8 +1451,8 @@ ProxyPass /mirror/foo http://backend.example.com
|
||||
</table>
|
||||
<p>Exemple de configuration d'un répartiteur de charge</p>
|
||||
<highlight language="config">
|
||||
ProxyPass /special-area http://special.example.com smax=5 max=10
|
||||
ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover=On
|
||||
ProxyPass "/special-area" "http://special.example.com" smax=5 max=10
|
||||
ProxyPass "/" "balancer://mycluster/" stickysession=JSESSIONID|jsessionid nofailover=On
|
||||
<Proxy balancer://mycluster>
|
||||
BalancerMember ajp://1.2.3.4:8009
|
||||
BalancerMember ajp://1.2.3.5:8009 loadfactor=20
|
||||
@ -1464,7 +1464,7 @@ ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover
|
||||
<p>Configuration d'un serveur cible de réserve qui ne sera utilisé que si
|
||||
aucun autre serveur cible n'est disponible</p>
|
||||
<highlight language="config">
|
||||
ProxyPass / balancer://hotcluster/
|
||||
ProxyPass "/" "balancer://hotcluster/ "
|
||||
<Proxy balancer://hotcluster>
|
||||
BalancerMember ajp://1.2.3.4:8009 loadfactor=1
|
||||
BalancerMember ajp://1.2.3.5:8009 loadfactor=2
|
||||
@ -1531,8 +1531,8 @@ RewriteCond %{HTTPS} =on
|
||||
RewriteRule . - [E=protocol:https]
|
||||
|
||||
RewriteRule ^/mirror/foo/(.*) %{ENV:protocol}://backend.example.com/$1 [P]
|
||||
ProxyPassReverse /mirror/foo/ http://backend.example.com/
|
||||
ProxyPassReverse /mirror/foo/ https://backend.example.com/
|
||||
ProxyPassReverse "/mirror/foo/" "http://backend.example.com/"
|
||||
ProxyPassReverse "/mirror/foo/" "https://backend.example.com/"
|
||||
</highlight>
|
||||
|
||||
</usage>
|
||||
@ -1565,7 +1565,7 @@ du serveur local en utilisant des expressions rationnelles</description>
|
||||
<code>http://example.com/</code> ; alors</p>
|
||||
|
||||
<highlight language="config">
|
||||
ProxyPassMatch ^(/.*\.gif)$ http://backend.example.com/$1
|
||||
ProxyPassMatch "^(/.*\.gif)$" "http://backend.example.com/$1"
|
||||
</highlight>
|
||||
|
||||
<p>va provoquer la conversion interne de la requête locale
|
||||
@ -1578,14 +1578,15 @@ du serveur local en utilisant des expressions rationnelles</description>
|
||||
doit aussi l'être après). Ceci limite les correspondances que vous
|
||||
pouvez utiliser. Par exemple, si l'on avait utilisé</p>
|
||||
<highlight language="config">
|
||||
ProxyPassMatch ^(/.*\.gif)$ http://backend.example.com:8000$1
|
||||
ProxyPassMatch "^(/.*\.gif)$"
|
||||
"http://backend.example.com:8000$1"
|
||||
</highlight>
|
||||
<p>dans l'exemple précédent, nous aurions provoqué une erreur de
|
||||
syntaxe au démarrage du serveur. C'est une bogue (PR 46665 dans
|
||||
ASF bugzilla), et il est possible de la contourner en reformulant
|
||||
la correspondance :</p>
|
||||
<highlight language="config">
|
||||
ProxyPassMatch ^/(.*\.gif)$ http://backend.example.com:8000/$1
|
||||
ProxyPassMatch "^/(.*\.gif)$" "http://backend.example.com:8000/$1"
|
||||
</highlight>
|
||||
</note>
|
||||
|
||||
@ -1661,10 +1662,10 @@ par un serveur mandaté en inverse</description>
|
||||
<code>http://example.com/</code> ; alors</p>
|
||||
|
||||
<highlight language="config">
|
||||
ProxyPass /mirror/foo/ http://backend.example.com/
|
||||
ProxyPassReverse /mirror/foo/ http://backend.example.com/
|
||||
ProxyPass "/mirror/foo/" "http://backend.example.com/"
|
||||
ProxyPassReverse "/mirror/foo/" "http://backend.example.com/"
|
||||
ProxyPassReverseCookieDomain backend.example.com public.example.com
|
||||
ProxyPassReverseCookiePath / /mirror/foo/
|
||||
ProxyPassReverseCookiePath "/" "/mirror/foo/"
|
||||
</highlight>
|
||||
|
||||
<p>ne va pas seulement provoquer la conversion interne d'une requête
|
||||
@ -1758,7 +1759,7 @@ Dans l'exemple fourni avec la directive <directive
|
||||
module="mod_proxy">ProxyPassReverse</directive>, la directive :
|
||||
</p>
|
||||
<highlight language="config">
|
||||
ProxyPassReverseCookiePath / /mirror/foo/
|
||||
ProxyPassReverseCookiePath "/" "/mirror/foo/"
|
||||
</highlight>
|
||||
<p>
|
||||
va réécrire un cookie possédant un chemin d'arrière-plan <code>/</code>
|
||||
|
Reference in New Issue
Block a user