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

docs/manual/howto/cgi.xml.fr
docs/manual/howto/htaccess.xml.fr
docs/manual/howto/public_html.xml.fr
docs/manual/programs/ab.xml.fr
docs/manual/urlmapping.xml.fr

index 663f30978fd848becdcad8343f6b08c3e5a6ca30..c84ca3a966527422c2f16c884c5e67fedf57fa75 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1363228:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -86,7 +86,7 @@
       :</p>
 
       <highlight language="config">
-        ScriptAlias /cgi-bin/ /usr/local/apache2/cgi-bin/
+        ScriptAlias "/cgi-bin/" "/usr/local/apache2/cgi-bin/"
       </highlight>
 
       <p>Cet exemple est tir&eacute; de votre fichier de configuration
       particulier :</p>
 
       <highlight language="config">
-&lt;Directory /usr/local/apache2/htdocs/somedir&gt;
+&lt;Directory "/usr/local/apache2/htdocs/somedir"&gt;
     Options +ExecCGI
 &lt;/Directory&gt;
       </highlight>
       suivante :</p>
 
       <highlight language="config">
-&lt;Directory /home/*/public_html&gt;
+&lt;Directory "/home/*/public_html"&gt;
     Options +ExecCGI
     AddHandler cgi-script .cgi
 &lt;/Directory&gt;
       programme CGI, vous pouvez utiliser ceci :</p>
 
       <highlight language="config">
-&lt;Directory /home/*/public_html/cgi-bin&gt;
+&lt;Directory "/home/*/public_html/cgi-bin"&gt;
     Options ExecCGI
     SetHandler cgi-script
 &lt;/Directory&gt;
index 99bece16ebe561bb257c9d73c0798145c6a4f7fb..0e08dd201a0e87ae9fa4d2ae25ff813f897bcb21 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1666026:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -87,7 +87,7 @@ modifier la configuration du serveur au niveau de chaque r&eacute;pertoire.</p>
       configuration de votre serveur :</p>
 
       <highlight language="config">
-        AccessFileName .config
+        AccessFileName ".config"
       </highlight>
     </note>
 
@@ -230,7 +230,7 @@ modifier la configuration du serveur au niveau de chaque r&eacute;pertoire.</p>
     <p>Notez que mettre un fichier <code>.htaccess</code> contenant une
     directive dans un r&eacute;pertoire <code>/www/htdocs/exemple</code>
     revient exactement au m&ecirc;me que mettre la m&ecirc;me directive dans une
-    section Directory <code>&lt;Directory /www/htdocs/exemple&gt;</code>
+    section Directory <code>&lt;Directory "/www/htdocs/exemple"&gt;</code>
     du fichier de configuration de votre serveur principal :</p>
 
     <p>Fichier <code>.htaccess</code> dans
@@ -238,13 +238,13 @@ modifier la configuration du serveur au niveau de chaque r&eacute;pertoire.</p>
 
     <example><title>Contenu du fichier .htaccess dans
     <code>/www/htdocs/exemple</code></title>
-       <highlight language="config">AddType text/example .exm</highlight>
+       <highlight language="config">AddType text/example ".exm"</highlight>
     </example>
 
     <example><title>Section de votre fichier
     <code>httpd.conf</code></title>
       <highlight language="config">
-&lt;Directory /www/htdocs/example&gt;
+&lt;Directory "/www/htdocs/example"&gt;
     AddType text/example .exm
 &lt;/Directory&gt;
     </highlight>
@@ -322,11 +322,11 @@ modifier la configuration du serveur au niveau de chaque r&eacute;pertoire.</p>
     <code>.htaccess</code>, vous pouvez utiliser :</p>
 
     <highlight language="config">
-&lt;Directory /www/htdocs&gt;
+&lt;Directory "/www/htdocs"&gt;
     AllowOverride All
 &lt;/Directory&gt;
 
-&lt;Location /&gt;
+&lt;Location "/"&gt;
     Options +IncludesNoExec -ExecCGI<br />
 &lt;/Location&gt;
     </highlight>
@@ -363,8 +363,8 @@ modifier la configuration du serveur au niveau de chaque r&eacute;pertoire.</p>
     <highlight language="config">
 AuthType Basic
 AuthName "Password Required"
-AuthUserFile /www/passwords/password.file
-AuthGroupFile /www/passwords/group.file
+AuthUserFile "/www/passwords/password.file"
+AuthGroupFile "/www/passwords/group.file"
 Require group admins
     </highlight>
 
@@ -409,14 +409,14 @@ les exemples suivants :</p>
 
 <highlight language="config">
 # Dans httpd.conf
-RewriteRule ^/images/(.+)\.jpg /images/$1.png
+RewriteRule "^/images/(.+)\.jpg" "/images/$1.png"
 
 # Dans un fichier .htaccess situ&eacute; dans le r&eacute;pertoire racine de vos
 # documents
-RewriteRule ^images/(.+)\.jpg images/$1.png
+RewriteRule "^images/(.+)\.jpg" "images/$1.png"
 
 # Dans un fichier .htaccess situ&eacute; dans le r&eacute;pertoire images/
-RewriteRule ^(.+)\.jpg $1.png
+RewriteRule "^(.+)\.jpg" "$1.png"
 </highlight>
 
 <p>On voit que si le fichier <code>.htaccess</code> se situe &agrave; la racine
index 80024219d26061c7b66f01661382f34f3097e86c..972470e914f9f460377a669be4f324463787958c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1649334:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
@@ -166,7 +166,7 @@ avec le syst&egrave;me de fichiers</a></seealso>
    sous-r&eacute;pertoire particulier d'un r&eacute;pertoire home utilisateur.</p>
 
     <highlight language="config">
-&lt;Directory /home/*/public_html/cgi-bin/&gt;
+&lt;Directory "/home/*/public_html/cgi-bin/"&gt;
     Options ExecCGI
     SetHandler cgi-script
 &lt;/Directory&gt;
index 17ad1ca16875a7ef8d3d66136b80a5563cf96549..147ee0e70e305b89352d87a6fd137656cb68a404 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1605004:1676925 (outdated) -->
+<!-- English Revision: 1676925 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index e881a38660bb3da74a6e10387f611701e25af1dc..743c692a45c0484b19303f8f84322a1aaca04e7d 100644 (file)
@@ -3,7 +3,7 @@
 <?xml-stylesheet type="text/xsl" href="./style/manual.fr.xsl"?>
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
-<!-- English Revision: 1562488:1673563 (outdated) -->
+<!-- English Revision: 1673563 -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
@@ -146,7 +146,7 @@ l'arborescence DocumentRoot</title>
     module="mod_alias">Alias</directive> pour rattacher toute portion
     du syst&egrave;me de fichiers &agrave; l'arborescence du site web. Par exemple, avec</p>
 
-<highlight language="config">Alias /docs /var/web</highlight>
+<highlight language="config">Alias "/docs" "/var/web"</highlight>
 
     <p>l'URL <code>http://www.example.com/docs/dir/file.html</code>
     correspondra au fichier <code>/var/web/dir/file.html</code>. La
@@ -164,7 +164,7 @@ l'arborescence DocumentRoot</title>
     Par exemple,</p>
 
 <highlight language="config">
-    ScriptAliasMatch ^/~([a-zA-Z0-9]+)/cgi-bin/(.+)   /home/$1/cgi-bin/$2
+    ScriptAliasMatch "^/~([a-zA-Z0-9]+)/cgi-bin/(.+)" "/home/$1/cgi-bin/$2"
     </highlight>
 
     <p>fera correspondre une requ&ecirc;te du style
@@ -214,7 +214,7 @@ l'arborescence DocumentRoot</title>
     <code>AliasMatch</code> suivante :</p>
 
 <highlight language="config">
-    AliasMatch ^/upages/([a-zA-Z0-9]+)(/(.*))?$   /home/$1/public_html/$3
+    AliasMatch "^/upages/([a-zA-Z0-9]+)(/(.*))?$"   "/home/$1/public_html/$3"
     </highlight>
 </section>
 
@@ -235,7 +235,7 @@ l'arborescence DocumentRoot</title>
     de le requ&eacute;rir &agrave; sa nouvelle localisation comme suit :</p>
 
 <highlight language="config">
-    Redirect permanent /foo/   http://www.example.com/bar/
+    Redirect permanent "/foo/"   "http://www.example.com/bar/"
     </highlight>
 
     <p>Ceci aura pour effet de rediriger tout chemin d'URL commen&ccedil;ant par
@@ -252,14 +252,14 @@ l'arborescence DocumentRoot</title>
     configuration suivante :</p>
 
 <highlight language="config">
-   RedirectMatch permanent ^/$    http://www.example.com/startpage.html
+   RedirectMatch permanent "^/$"    "http://www.example.com/startpage.html"
     </highlight>
 
     <p>De m&ecirc;me, pour rediriger temporairement toutes les pages d'un site
     vers une page particuli&egrave;re d'un autre site, utilisez ce qui suit :</p>
 
 <highlight language="config">
-    RedirectMatch temp .*  http://othersite.example.com/startpage.html
+    RedirectMatch temp ".*"  "http://othersite.example.com/startpage.html"
     </highlight>
 </section>
 
@@ -280,10 +280,10 @@ dans le r&eacute;pertoire
 et les renvoie au client comme s'ils appartenaient au serveur local.</p>
 
 <highlight language="config">
-ProxyPass /foo/ http://internal.example.com/bar/<br />
-ProxyPassReverse /foo/ http://internal.example.com/bar/<br />
+ProxyPass "/foo/" "http://internal.example.com/bar/"<br />
+ProxyPassReverse "/foo/" "http://internal.example.com/bar/"<br />
 ProxyPassReverseCookieDomain internal.example.com public.example.com<br />
-ProxyPassReverseCookiePath /foo/ /bar/
+ProxyPassReverseCookiePath "/foo/" "/bar/"
 </highlight>
 
 <p>La directive <directive module="mod_proxy">ProxyPass</directive> configure
@@ -304,7 +304,7 @@ d'utres contenus) situ&eacute;s dans la page au moment o&ugrave; elle est envoy&
 client en utilisant le module <module>mod_substitute</module>.</p>
 
 <highlight language="config">
-Substitute s/internal\.example\.com/www.example.com/i
+Substitute "s/internal\.example\.com/www.example.com/i"
 </highlight>
 
 <p>Le module <module>mod_proxy_html</module> rend possible une r&eacute;&eacute;criture plus