Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 509AB17390 for ; Sat, 2 May 2015 16:37:12 +0000 (UTC) Received: (qmail 34294 invoked by uid 500); 2 May 2015 16:37:07 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 34217 invoked by uid 500); 2 May 2015 16:37:07 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 34206 invoked by uid 99); 2 May 2015 16:37:07 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 May 2015 16:37:07 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 02940AC0155 for ; Sat, 2 May 2015 16:37:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1677330 - /httpd/httpd/trunk/docs/manual/mod/ Date: Sat, 02 May 2015 16:37:06 -0000 To: cvs@httpd.apache.org From: lgentis@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150502163707.02940AC0155@hades.apache.org> Author: lgentis Date: Sat May 2 16:37:06 2015 New Revision: 1677330 URL: http://svn.apache.org/r1677330 Log: XML updates. Modified: httpd/httpd/trunk/docs/manual/mod/mod_authz_owner.xml.fr httpd/httpd/trunk/docs/manual/mod/mod_cern_meta.xml.fr httpd/httpd/trunk/docs/manual/mod/mod_cgid.xml.fr httpd/httpd/trunk/docs/manual/mod/mod_dialup.xml.fr httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.fr httpd/httpd/trunk/docs/manual/mod/mod_ext_filter.xml.fr httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml.ja httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml.ko httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml.tr httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml.fr Modified: httpd/httpd/trunk/docs/manual/mod/mod_authz_owner.xml.fr URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_authz_owner.xml.fr?rev=1677330&r1=1677329&r2=1677330&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_authz_owner.xml.fr (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_authz_owner.xml.fr Sat May 2 16:37:06 2015 @@ -1,7 +1,7 @@ - + @@ -96,11 +96,11 @@ fichiers smith.

-<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> @@ -121,14 +121,14 @@ fichiers répertoires project-foo de chacun d'entre eux.

-<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 Modified: httpd/httpd/trunk/docs/manual/mod/mod_cern_meta.xml.fr URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_cern_meta.xml.fr?rev=1677330&r1=1677329&r2=1677330&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_cern_meta.xml.fr (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_cern_meta.xml.fr Sat May 2 16:37:06 2015 @@ -1,7 +1,7 @@ - + Modified: httpd/httpd/trunk/docs/manual/mod/mod_cgid.xml.fr URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_cgid.xml.fr?rev=1677330&r1=1677329&r2=1677330&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_cgid.xml.fr (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_cgid.xml.fr Sat May 2 16:37:06 2015 @@ -1,7 +1,7 @@ - + Modified: httpd/httpd/trunk/docs/manual/mod/mod_dialup.xml.fr URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_dialup.xml.fr?rev=1677330&r1=1677329&r2=1677330&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_dialup.xml.fr (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_dialup.xml.fr Sat May 2 16:37:06 2015 @@ -1,7 +1,7 @@ - + @@ -41,8 +41,8 @@ modems. Ainsi, il est possible de navigu 56k V.92 en positionnant une configuration de ce type :

-<Location /mysite> - ModemStandard V.92 +<Location "/mysite"> + ModemStandard "V.92" </Location> @@ -67,8 +67,8 @@ client.

souhaitez simuler.

-<Location /mysite> - ModemStandard V.26bis +<Location "/mysite"> + ModemStandard "V.26bis" </Location> Modified: httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.fr URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.fr?rev=1677330&r1=1677329&r2=1677330&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.fr (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_example_hooks.xml.fr Sat May 2 16:37:06 2015 @@ -1,7 +1,7 @@ - + @@ -110,7 +110,7 @@

Pour activer le module example_hooks, ajoutez à votre fichier httpd.conf un bloc du style :

-<Location /example-hooks-info> +<Location "/example-hooks-info"> SetHandler example-hooks-handler </Location> Modified: httpd/httpd/trunk/docs/manual/mod/mod_ext_filter.xml.fr URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_ext_filter.xml.fr?rev=1677330&r1=1677329&r2=1677330&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_ext_filter.xml.fr (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_ext_filter.xml.fr Sat May 2 16:37:06 2015 @@ -1,7 +1,7 @@ - + @@ -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=/bi 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 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> Modified: httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml.ja URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml.ja?rev=1677330&r1=1677329&r2=1677330&view=diff ============================================================================== --- httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml.ja [utf-8] (original) +++ httpd/httpd/trunk/docs/manual/mod/mod_log_config.xml.ja [utf-8] Sat May 2 16:37:06 2015 @@ -1,7 +1,7 @@ - + + + + @@ -168,8 +168,8 @@ Mandataire inverse -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" @@ -196,7 +196,7 @@ ProxyVia On Scripts PHP et mandataire inverse -<FilesMatch \.php$> +<FilesMatch "\.php$"> SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/" </FilesMatch> @@ -231,7 +231,7 @@ ProxyVia On - ProxyPass /example http://backend.example.com connectiontimeout=5 timeout=30 + ProxyPass "/example" "http://backend.example.com" connectiontimeout=5 timeout=30 @@ -277,8 +277,8 @@ ProxyVia On original, y compris un éventuel chemin donné :

-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"

Dans cet exemple, deux workers différents sont définis, chacun @@ -292,8 +292,8 @@ ProxyPass /docs http://backend.example.c dans le fichier de configuration. Dans l'exemple suivant,

-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

le second worker n'est pas vraiment créé. C'est le premier @@ -431,8 +431,8 @@ ProxyPass /examples http://backend.examp proxy-nokeepalive.

-<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 Apac http://example.com/ ; alors la ligne

-<Location /mirror/foo/> - ProxyPass http://backend.example.com/ +<Location "/mirror/foo/"> + ProxyPass "http://backend.example.com/" </Location> @@ -1020,7 +1020,7 @@ de la version 2.4.7 du serveur HTTP Apac href="mod_proxy_balancer.html#balancer_manager">Balancer Manager :

- ProxyPass /miroir/foo/ http://backend.example.com/ + ProxyPass "/miroir/foo/" "http://backend.example.com/" @@ -1036,17 +1036,17 @@ de la version 2.4.7 du serveur HTTP Apac du mandat inverse, comme dans l'exemple suivant :

-<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> -ProxyPass /mirror/foo/i ! -ProxyPass /mirror/foo http://backend.example.com +ProxyPass "/mirror/foo/i" "!" +ProxyPass "/mirror/foo" "http://backend.example.com"

va mandater toutes les requêtes pour /miroir/foo @@ -1105,7 +1105,7 @@ ProxyPass /mirror/foo http://backend.exa Exemple - ProxyPass /example http://backend.example.com max=20 ttl=120 retry=300 + ProxyPass "/example" "http://backend.example.com" max=20 ttl=120 retry=300 @@ -1451,8 +1451,8 @@ ProxyPass /mirror/foo http://backend.exa

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 @@ -1464,7 +1464,7 @@ ProxyPass / balancer://mycluster/ sticky

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 @@ -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/" @@ -1565,7 +1565,7 @@ du serveur local en utilisant des expres 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 @@ -1578,14 +1578,15 @@ du serveur local en utilisant des expres 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"
@@ -1661,10 +1662,10 @@ par un serveur mandaté en inverse 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 @@ -1758,7 +1759,7 @@ Dans l'exemple fourni avec la directive module="mod_proxy">ProxyPassReverse, la directive :

- ProxyPassReverseCookiePath / /mirror/foo/ + ProxyPassReverseCookiePath "/" "/mirror/foo/"

va réécrire un cookie possédant un chemin d'arrière-plan /