]> granicus.if.org Git - apache/commitdiff
XML updates.
authorLucien Gentis <lgentis@apache.org>
Sun, 3 May 2015 16:34:52 +0000 (16:34 +0000)
committerLucien Gentis <lgentis@apache.org>
Sun, 3 May 2015 16:34:52 +0000 (16:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1677446 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_auth_form.xml.fr
docs/manual/mod/mod_dir.xml.fr
docs/manual/mod/mod_filter.xml.fr
docs/manual/mod/mod_macro.xml.fr
docs/manual/mod/mod_proxy_ajp.xml.fr
docs/manual/mod/mod_rewrite.xml.fr
docs/manual/mod/mod_session.xml.fr
docs/manual/mod/mod_substitute.xml.fr

index 458e8d7931a98ad89b418f247ef768376a6c7efd..0cfb5fdf5e55c4aa7f620b9af3d34829327bae45 100644 (file)
@@ -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: 1659891:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -86,10 +86,10 @@ l'authentification</a></seealso>
       <example><title>Exemple simple</title>
         <highlight language="config">
 AuthFormProvider file
-AuthUserFile conf/passwd
+AuthUserFile "conf/passwd"
 AuthType form
 AuthName realm
-AuthFormLoginRequiredLocation http://example.com/login.html
+AuthFormLoginRequiredLocation "http://example.com/login.html"
 Session On
 SessionCookieName session path=/
 SessionCryptoPassphrase secret
@@ -154,12 +154,12 @@ SessionCryptoPassphrase secret
       <example><title>Exemple de configuration du gestionnaire de
       formulaire de connexion</title>
         <highlight language="config">
-&lt;Location /dologin.html&gt;
+&lt;Location "/dologin.html"&gt;
     SetHandler form-login-handler
-    AuthFormLoginRequiredLocation http://example.com/login.html
-    AuthFormLoginSuccessLocation http://example.com/success.html
+    AuthFormLoginRequiredLocation "http://example.com/login.html"
+    AuthFormLoginSuccessLocation "http://example.com/success.html"
     AuthFormProvider file
-    AuthUserFile conf/passwd
+    AuthUserFile "conf/passwd"
     AuthType form
     AuthName realm
     Session On
@@ -236,11 +236,11 @@ SessionCryptoPassphrase secret
       <example><title>Exemple simple d'authentification &agrave; la vol&eacute;e</title>
         <highlight language="config">
 AuthFormProvider file
-ErrorDocument 401 /login.shtml
-AuthUserFile conf/passwd
+ErrorDocument 401 "/login.shtml"
+AuthUserFile "conf/passwd"
 AuthType form
 AuthName realm
-AuthFormLoginRequiredLocation http://example.com/login.html
+AuthFormLoginRequiredLocation "http://example.com/login.html"
 Session On
 SessionCookieName session path=/
 SessionCryptoPassphrase secret
@@ -327,7 +327,7 @@ SessionCryptoPassphrase secret
       <example><title>Exemple avec script CGI</title>
         <highlight language="config">
         AuthFormProvider file
-        ErrorDocument 401 /cgi-bin/login.cgi
+        ErrorDocument 401 "/cgi-bin/login.cgi"
         ...
         </highlight>
       </example>
@@ -355,7 +355,7 @@ SessionCryptoPassphrase secret
         <highlight language="config">
 SetHandler form-logout-handler
 AuthName realm
-AuthFormLogoutLocation http://example.com/loggedout.html
+AuthFormLogoutLocation "http://example.com/loggedout.html"
 Session On
 SessionCookieName session path=/
 SessionCryptoPassphrase secret
@@ -377,7 +377,7 @@ SessionCryptoPassphrase secret
       limit&eacute;e</title>
         <highlight language="config">
 SetHandler form-logout-handler
-AuthFormLogoutLocation http://example.com/loggedout.html
+AuthFormLogoutLocation "http://example.com/loggedout.html"
 Session On
 SessionMaxAge 1
 SessionCookieName session path=/
@@ -418,12 +418,12 @@ zone concern&eacute;e</description>
 
     <example><title>Exemple</title>
       <highlight language="config">
-&lt;Location /secure&gt;
+&lt;Location "/secure"&gt;
     AuthType form
     AuthName "private area"
     AuthFormProvider  dbm
     AuthDBMType        SDBM
-    AuthDBMUserFile    /www/etc/dbmpasswd
+    AuthDBMUserFile    "/www/etc/dbmpasswd"
     Require            valid-user
     #...
 &lt;/Location&gt;
@@ -742,9 +742,9 @@ depuis la version 2.4.4.</compatibility>
 
     <example><title>Exemple</title>
       <highlight language="config">
-&lt;Location /logout&gt;
+&lt;Location "/logout"&gt;
     SetHandler form-logout-handler
-    AuthFormLogoutLocation http://example.com/loggedout.html
+    AuthFormLogoutLocation "http://example.com/loggedout.html"
     Session on
     #...
 &lt;/Location&gt;
index ebecb9737eff1085de46e340510634572f13a7e9..8204df021c828edae80464b9d16b5aef0d4468a2 100644 (file)
@@ -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: 1586470:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -115,19 +115,19 @@ client envoie une requ&ecirc;te pour un r&eacute;pertoire</description>
     </p>
     <highlight language="config">
 # Exemple A: Positionner index.html en page d'index, puis ajouter index.php.
-&lt;Directory /foo&gt;
+&lt;Directory "/foo"&gt;
     DirectoryIndex index.html
     DirectoryIndex index.php
 &lt;/Directory&gt;
 
 # Exemple B: La m&ecirc;me chose que l'exemple A, mais r&eacute;alis&eacute; au moyen d'une seule directive.
-&lt;Directory /foo&gt;
+&lt;Directory "/foo"&gt;
     DirectoryIndex index.html index.php
 &lt;/Directory&gt;
 
 # Exemple C: Pour remplacer la liste des ressources, il faut d'abord la vider :
 # Ici, seul index.php restera r&eacute;f&eacute;renc&eacute; comme ressource d'index.
-&lt;Directory /foo&gt;
+&lt;Directory "/foo"&gt;
     DirectoryIndex index.html
     DirectoryIndex disabled
     DirectoryIndex index.php
@@ -227,7 +227,7 @@ host</context>
 
     <highlight language="config">
 # voir l'avertissement de s&eacute;curit&eacute; ci-dessous !
-&lt;Location /some/path&gt;
+&lt;Location "/some/path"&gt;
     DirectorySlash Off
     SetHandler some-handler
 &lt;/Location&gt;
@@ -296,10 +296,10 @@ de la version 2.4.4 du serveur HTTP Apache.</compatibility>
     <em>http://example.com/blog/</em>, cet URI interm&eacute;diaire doit &ecirc;tre
     sp&eacute;cifi&eacute; en tant que <var>url-locale</var> :</p>
     <highlight language="config">
-&lt;Directory /web/example.com/htdocs/blog&gt;
+&lt;Directory "/web/example.com/htdocs/blog"&gt;
     FallbackResource /blog/index.php
 &lt;/Directory&gt;
-&lt;Directory /web/example.com/htdocs/blog/images&gt;
+&lt;Directory "/web/example.com/htdocs/blog/images"&gt;
     FallbackResource disabled
 &lt;/Directory&gt;
     </highlight>
index 29607171579b03000f0311884967819fd5a53212..7b05f2690fe937b3bbc8415e3694cfaf2a1966a7 100644 (file)
@@ -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: 1523325:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -230,7 +230,7 @@ FilterProtocol downsample "change=yes"
 FilterProvider repack jpeg_pack "%{CONTENT_TYPE} = 'image/jpeg'"
 FilterProvider repack gif_pack "%{CONTENT_TYPE} = 'image/gif'"
 FilterProvider repack png_pack "%{CONTENT_TYPE} = 'image/png'"
-&lt;Location /image-filter&gt;
+&lt;Location "/image-filter"&gt;
     FilterChain unpack downsample repack
 &lt;/Location&gt;
     </highlight>
@@ -327,7 +327,7 @@ particulier</description>
     <code>DEFLATE</code>.</p>
 
     <highlight language="config">
-&lt;Location /cgi-bin/&gt;
+&lt;Location "/cgi-bin/"&gt;
     Options Includes
     AddOutputFilterByType INCLUDES;DEFLATE text/html
 &lt;/Location&gt;
index 46af042233157257c8b1cead95516df6be42e66c..cf238325b4e239c0b04c8b5c94fa44d825feff80 100644 (file)
@@ -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: 1577120:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation: Fabien Coelho -->
 <!-- Updated by Lucien Gentis -->
 
@@ -58,9 +58,9 @@ d&eacute;finir de nombreux serveurs virtuels similaires :</p>
     ServerName $domain
     ServerAlias www.$domain
 
-    DocumentRoot /var/www/vhosts/$name
-    ErrorLog /var/log/httpd/$name.error_log
-    CustomLog /var/log/httpd/$name.access_log combined
+    DocumentRoot "/var/www/vhosts/$name"
+    ErrorLog "/var/log/httpd/$name.error_log"
+    CustomLog "/var/log/httpd/$name.access_log" combined
 &lt;/VirtualHost&gt;
 &lt;/Macro&gt;
 </highlight>
@@ -121,7 +121,7 @@ de l'entourer d'accolades afin d'&eacute;viter toute confusion :</p>
 
 <highlight language="config">
 &lt;Macro DocRoot ${docroot}&gt;
-    DocumentRoot /var/www/${docroot}/htdocs
+    DocumentRoot "/var/www/${docroot}/htdocs"
 &lt;/Macro&gt;
 </highlight>
 
@@ -144,15 +144,15 @@ cr&eacute;ation dynamique de serveurs virtuels.</p>
   &lt;VirtualHost *:$port&gt;
 
     ServerName $host
-    DocumentRoot $dir
+    DocumentRoot "$dir"
 
     # Racine des documents publique
-    &lt;Directory $dir&gt;
+    &lt;Directory "$dir"&gt;
       Require all granted
     &lt;/Directory&gt;
 
     # restriction d'acc&egrave;s au sous-r&eacute;pertoire intranet.
-    &lt;Directory $dir/intranet&gt;
+    &lt;Directory "$dir/intranet"&gt;
       Require ip 10.0.0.0/8
     &lt;/Directory&gt;
   &lt;/VirtualHost&gt;
@@ -176,7 +176,7 @@ variables peuvent survenir.</p>
 
 <highlight language="config">
 &lt;Macro DirGroup $dir $group&gt;
-  &lt;Directory $dir&gt;
+  &lt;Directory "$dir"&gt;
     Require group $group
   &lt;/Directory&gt;
 &lt;/Macro&gt;
index 773c4fb8c190d4bb669e45164f7f11ea9120983e..2ff64ebc33ff03e096155ecb372be1d80375cdfe 100644 (file)
@@ -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: 1649003:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -62,7 +62,7 @@ d'environnement</a></seealso>
 
     <example><title>Mandataire inverse simple</title>
     <highlight language="config">
-    ProxyPass /app ajp://backend.example.com:8009/app
+    ProxyPass "/app ajp://backend.example.com:8009/app"
     </highlight>
     </example>
 
@@ -70,11 +70,11 @@ d'environnement</a></seealso>
     <example><title>Mandataire inverse avec r&eacute;partiteur de charge</title>
       <highlight language="config">
 &lt;Proxy balancer://cluster&gt;
-    BalancerMember ajp://app1.example.com:8009 loadfactor=1
-    BalancerMember ajp://app2.example.com:8009 loadfactor=2
+    BalancerMember "ajp://app1.example.com:8009" loadfactor=1
+    BalancerMember "ajp://app2.example.com:8009" loadfactor=2
     ProxySet lbmethod=bytraffic
 &lt;/Proxy&gt;
-ProxyPass /app balancer://cluster/app
+ProxyPass "/app" "balancer://cluster/app"
       </highlight>
     </example>
 
@@ -94,8 +94,8 @@ ProxyPass /app balancer://cluster/app
     ; par exemple :</p>
     <example><title>R&eacute;&eacute;criture d'un chemin mandat&eacute;</title>
       <highlight language="config">
-ProxyPass /apps/foo ajp://backend.example.com:8009/foo
-ProxyPassReverse /apps/foo http://www.example.com/foo
+ProxyPass "/apps/foo" "ajp://backend.example.com:8009/foo"
+ProxyPassReverse "/apps/foo" "http://www.example.com/foo"
     </highlight>
     </example>
     <p>Il est cependant pr&eacute;f&eacute;rable en g&eacute;n&eacute;ral de d&eacute;ployer l'application
index 5a9a64f4e6a5b19fb75fa6c3c5a7ed4d5e37531e..fdc512c73942ccac04551966d4bf80ef6d639a75 100644 (file)
@@ -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: 1668874:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -365,14 +365,14 @@ recherche de mots-cl&eacute;s</description>
       <directive>RewriteMap</directive> comme suit </p>
 
       <highlight language="config">
-      RewriteMap map-exemple txt:/chemin/vers/fichier/map.txt
+      RewriteMap "map-exemple" "txt:/chemin/vers/fichier/map.txt"
       </highlight>
 
       <p>Vous pourrez ensuite utiliser cette table dans une
       directive <directive>RewriteRule</directive> comme suit :</p>
 
       <highlight language="config">
-      RewriteRule ^/ex/(.*) ${map-exemple:$1}
+      RewriteRule "^/ex/(.*)" "${map-exemple:$1}"
       </highlight>
 
       <p>Les combinaisons suivantes pour <em>type de correspondance</em>
@@ -463,12 +463,12 @@ de configuration aurait conduit le serveur &agrave; rechercher un r&eacute;perto
 "opt" &agrave; la racine des documents.</p>
 
 <highlight language="config">
-DocumentRoot /var/www/example.com
-AliasMatch ^/myapp /opt/myapp-1.2.3
-&lt;Directory /opt/myapp-1.2.3&gt;
+DocumentRoot "/var/www/example.com"
+AliasMatch "^/myapp" "/opt/myapp-1.2.3"
+&lt;Directory "/opt/myapp-1.2.3"&gt;
  RewriteEngine On
     RewriteBase /myapp/
-    RewriteRule ^index\.html$  welcome.html
+    RewriteRule "^index\.html$"  "welcome.html"
 &lt;/Directory&gt;
 </highlight>
 
@@ -1007,7 +1007,7 @@ la r&eacute;&eacute;criture soit effectu&eacute;e
 
            <highlight language="config">
            RewriteCond expr "! %{HTTP_REFERER} -strmatch '*://%{HTTP_HOST}/*'"<br />
-           RewriteRule ^/images - [F]
+           RewriteRule "^/images" "-" [F]
            </highlight>
         </li>
 
@@ -1037,9 +1037,9 @@ la r&eacute;&eacute;criture soit effectu&eacute;e
          lieu du AND implicite. Exemple typique :
 
 <highlight language="config">
-RewriteCond %{REMOTE_HOST}  ^host1  [OR]
-RewriteCond %{REMOTE_HOST}  ^host2  [OR]
-RewriteCond %{REMOTE_HOST}  ^host3
+RewriteCond "%{REMOTE_HOST}"  "^host1"  [OR]
+RewriteCond "%{REMOTE_HOST}"  "^host2"  [OR]
+RewriteCond "%{REMOTE_HOST}"  "^host3"
 RewriteRule ...r&egrave;gles concernant tous ces h&ocirc;tes...
 </highlight>
 
@@ -1068,10 +1068,10 @@ RewriteRule ...r&egrave;gles concernant tous ces h&ocirc;tes...
        pouvez utiliser ce qui suit : </p>
 
 <highlight language="config">
-RewriteCond  %{HTTP_USER_AGENT}  (iPhone|Blackberry|Android)
-RewriteRule  ^/$                 /homepage.mobile.html  [L]
+RewriteCond  "%{HTTP_USER_AGENT}"  "(iPhone|Blackberry|Android)"
+RewriteRule  "^/$"                 "/homepage.mobile.html"  [L]
 
-RewriteRule  ^/$                 /homepage.std.html  [L]
+RewriteRule  "^/$"                "/homepage.std.html"  [L]
 </highlight>
 
         <p>Explications : si vous utilisez un navigateur
@@ -1107,10 +1107,11 @@ RewriteRule  ^/$                 /homepage.std.html  [L]
       <a id="regexp" name="regexp">expression rationnelle</a>
       compatible perl. Dans la premi&egrave;re r&egrave;gle de r&eacute;&eacute;criture,
       l'expression est compar&eacute;e au (%-decoded)
-      <a href="./directive-dict.html#Syntax">chemin de l'URL</a> (ou au
-      <a href="./directive-dict.html#Syntax">chemin fichier</a>, en
-      fonction du contexte) de la
-      requ&ecirc;te. Les expressions suivantes sont compar&eacute;es &agrave; la sortie de
+      <a href="./directive-dict.html#Syntax">chemin de l'URL</a> de la
+      requ&ecirc;te, ou, dans un contexte de répertoire (voir
+      ci-dessous), au chemin de l'URL relativement à ce contexte de
+      répertoire. 
+      Les expressions suivantes sont compar&eacute;es &agrave; la sortie de
       la derni&egrave;re r&egrave;gle de r&eacute;&eacute;criture qui
       correspondait.</p>
 
index e37168306df5faabddf8faf02b480d5f78a7f0cb..c4bf602c99367e669effc03423b49b6bec211307 100644 (file)
@@ -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: 1334024:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -301,7 +301,7 @@ Session On
 SessionCryptoPassphrase secret
 SessionCookieName session path=/
 AuthFormProvider file
-AuthUserFile conf/passwd
+AuthUserFile "conf/passwd"
 AuthType form
 AuthName realm
 #...
index e4613b307f99ed349fb6a852059e5318e0182189..bee752c56ae72c5472a350fb25e4e234e9f10080 100644 (file)
@@ -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: 1634793:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -85,9 +85,9 @@ r&eacute;ponse</description>
 
     <example><title>Exemple</title>
         <highlight language="config">
-&lt;Location /&gt;
+&lt;Location "/&gt;
     AddOutputFilterByType SUBSTITUTE text/html
-    Substitute s/foo/bar/ni
+    Substitute "s/foo/bar/ni"
 &lt;/Location&gt;
         </highlight>
     </example>
@@ -98,7 +98,7 @@ r&eacute;ponse</description>
     <example><title>Exemple d'utilisation d'un d&eacute;limiteur
     alternatif</title>
         <highlight language="config">
-&lt;Location /&gt;
+&lt;Location "/"&gt;
     AddOutputFilterByType SUBSTITUTE text/html
     Substitute "s|&lt;BR */?&gt;|&lt;br /&gt;|i"
 &lt;/Location&gt;
@@ -110,7 +110,7 @@ r&eacute;ponse</description>
     substitution, comme illustr&eacute; dans l'exemple suivant :</p>
     <example><title>Exemple d'utilisation de r&eacute;f&eacute;rences arri&egrave;res et de captures</title>
         <highlight language="config">
-&lt;Location /&gt;
+&lt;Location "/"&gt;
     AddOutputFilterByType SUBSTITUTE text/html
     # "foo=k,bar=k" -> "foo/bar=k"
     Substitute "s|foo=(\w+),bar=\1|foo/bar=$1"
@@ -131,8 +131,8 @@ r&eacute;ponse</description>
 
     <example><title>R&eacute;&eacute;criture des URLs int&eacute;gr&eacute;es &agrave; un contenu mandat&eacute;</title>
     <highlight language="config">
-ProxyPass /blog/ http://internal.blog.example.com
-ProxyPassReverse /blog/ http://internal.blog.example.com/
+ProxyPass "/blog/" "http://internal.blog.example.com"
+ProxyPassReverse "/blog/" "http://internal.blog.example.com/"
 
 Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"
     </highlight>
@@ -172,10 +172,10 @@ Apache</compatibility>
 
     <example><title>Example</title>
     <highlight language="config">
-&lt;Location /&gt;
+&lt;Location "/"&gt;
     AddOutputFilterByType SUBSTITUTE text/html
     SubstituteMaxLineLength 10m
-    Substitute s/foo/bar/ni
+    Substitute "s/foo/bar/ni"
 &lt;/Location&gt;
         </highlight>
     </example>