From: Lucien Gentis
| Description: | Autorisation basée sur l'appartenance des fichiers |
|---|---|
| Statut: | Extension |
| Description: | La sémantique des métafichiers du serveur httpd du CERN |
|---|---|
| Statut: | Extension |
| Description: | Exécution des scripts CGI par l'intermédiaire d'un démon CGI externe |
|---|---|
| Statut: | Base |
| Description: | Envoie le contenu statique avec une bande passante limitée définie par les différents standards des anciens modems. |
|---|---|
| Statut: | Expérimental |
| Description: | Illustration de l'API des modules Apache |
|---|---|
| Statut: | Expérimental |
| Identificateur de Module: | example_hooks_module |
| Description: | Fait traiter le corps de la réponse par un programme externe avant de l'envoyer au client |
|---|---|
| Statut: | Extension |
| Description: | Serveur mandataire/passerelle multi-protocole |
|---|---|
| Statut: | Extension |
| Identificateur de Module: | proxy_module |
| Paramètres de BalancerMember |
|---|
Exemple de configuration d'un répartiteur de charge
-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
@@ -1598,7 +1596,7 @@ ProxyPass / balancer://mycluster/ stickysession=JSESSIONID|jsessionid nofailover
Configuration d'un serveur cible de réserve qui ne sera utilisé que si
aucun autre serveur cible n'est disponible
- 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
@@ -1660,8 +1658,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/"
@@ -1747,7 +1745,7 @@ du serveur local en utilisant des expressions rationnelles
Supposons que le serveur local a pour adresse
http://example.com/ ; alors
- ProxyPassMatch ^(/.*\.gif)$ http://backend.example.com/$1
+ ProxyPassMatch "^(/.*\.gif)$" "http://backend.example.com/$1"
va provoquer la conversion interne de la requête locale
@@ -1759,13 +1757,14 @@ du serveur local en utilisant des expressions rationnelles
avant les substitutions d'expressions rationnelles (et
doit aussi l'être après). Ceci limite les correspondances que vous
pouvez utiliser. Par exemple, si l'on avait utilisé
- ProxyPassMatch ^(/.*\.gif)$ http://backend.example.com:8000$1
+ ProxyPassMatch "^(/.*\.gif)$"
+ "http://backend.example.com:8000$1"
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 :
- ProxyPassMatch ^/(.*\.gif)$ http://backend.example.com:8000/$1
+ ProxyPassMatch "^/(.*\.gif)$" "http://backend.example.com:8000/$1"
@@ -1836,10 +1835,10 @@ par un serveur mandat
Supposons par exemple que le serveur local a pour adresse
http://example.com/ ; alors
- 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/"
ne va pas seulement provoquer la conversion interne d'une requête
@@ -1925,7 +1924,7 @@ r
Dans l'exemple fourni avec la directive ProxyPassReverse, la directive :
- ProxyPassReverseCookiePath / /mirror/foo/
+ ProxyPassReverseCookiePath "/" "/mirror/foo/"
va réécrire un cookie possédant un chemin d'arrière-plan /
diff --git a/docs/manual/mod/mod_proxy.xml.meta b/docs/manual/mod/mod_proxy.xml.meta
index f0185375d44..38a79fdda73 100644
--- a/docs/manual/mod/mod_proxy.xml.meta
+++ b/docs/manual/mod/mod_proxy.xml.meta
@@ -8,7 +8,7 @@
en
- fr
+ fr
ja