Commit 852c3870 authored by Lucien Gentis's avatar Lucien Gentis
Browse files

XML updates.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1681466 13f79535-47bb-0310-9956-ffa450edef68
parent 7638bcc7
Loading
Loading
Loading
Loading
+5 −5
Changes for docs/manual/howto/cgi.xml.fr: 5 added lines, 5 removed lines.
Original line number Diff line number Diff line
<?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
@@ -159,7 +159,7 @@
      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>
@@ -195,7 +195,7 @@
      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;
@@ -206,7 +206,7 @@
      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;
+12 −12
Changes for docs/manual/howto/htaccess.xml.fr: 12 added lines, 12 removed lines.
Original line number Diff line number Diff line
<?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
+2 −2
Changes for docs/manual/howto/public_html.xml.fr: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
<?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;
+1 −1
Changes for docs/manual/programs/ab.xml.fr: 1 added line, 1 removed line.
Original line number Diff line number Diff line
<?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 -->

+11 −11
Changes for docs/manual/urlmapping.xml.fr: 11 added lines, 11 removed lines.
Original line number Diff line number Diff line
@@ -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