]> granicus.if.org Git - apache/commitdiff
XML updates.
authorLucien Gentis <lgentis@apache.org>
Sun, 24 May 2015 14:38:38 +0000 (14:38 +0000)
committerLucien Gentis <lgentis@apache.org>
Sun, 24 May 2015 14:38:38 +0000 (14:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1681464 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/howto/ssi.xml.fr
docs/manual/urlmapping.xml.fr

index df463d295b7e52d1ce510e029b3f7ca19c01227a..0ab78f9a7190c94a21445c86b8ac4442b7e88a13 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: 1336196:1673945 (outdated) -->
+<!-- English Revision: 1673945 -->
 <!-- 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 3e4e3cc68024179a7a4c432275be1c0751dab92b..bd6a4d1d8ab05d1be999c2dc5b7793cbece080dd 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: 1666025:1673582 (outdated) -->
+<!-- English Revision: 1673582 -->
 <!-- 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,14 +238,14 @@ 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;
-    AddType text/example .exm
+&lt;Directory "/www/htdocs/example"&gt;
+    AddType text/example ".exm"
 &lt;/Directory&gt;
     </highlight>
     </example>
@@ -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>
 
@@ -387,7 +387,7 @@ Includes - SSI)</title>
 
     <highlight language="config">
 Options +Includes
-AddType text/html shtml
+AddType text/html "shtml"
 AddHandler server-parsed shtml
     </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
@@ -443,7 +443,7 @@ pour une &eacute;tude d&eacute;taill&eacute;e de l'utilisation du module
 
     <highlight language="config">
 Options +ExecCGI
-AddHandler cgi-script cgi pl
+AddHandler cgi-script "cgi" "pl"
     </highlight>
 
     <p>Alternativement, si vous souhaitez que tous les fichiers d'un
index 8bfc0088973d3b4a35e3b1529715207cef50ab0e..30ff3310c1838ab1b51d2672c0a22ade09d61f3a 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: 1649338:1673932 (outdated) -->
+<!-- English Revision: 1673932 -->
 <!-- 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 7438434bed549ef081a191fd7fbf408ead9aebe4..ec63775010d9be9d2cdf204068abd4e10d49da8c 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: 1646392:1673947 (outdated) -->
+<!-- English Revision: 1673947 -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index dfd30169fe49b19957d5993b2821040e76a2438d..efdc8dc49062d94e3bf07be8b51695ab92fe816a 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: 1561569:1673945 (outdated) -->
+<!-- English Revision: 1673945 -->
 
 <!--
  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