Commit 0c911ee3 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@1677180 13f79535-47bb-0310-9956-ffa450edef68
parent d22ae5e4
Loading
Loading
Loading
Loading
+3 −3
Changes for docs/manual/mod/mod_allowmethods.xml.fr: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
<!-- English Revision: 1334008:1673563 (outdated) -->
<!-- English Revision: 1673563 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->

@@ -47,7 +47,7 @@ pouvant &ecirc;tre utilis&eacute;es sur le serveur. La configuration la plus cou
est du style :</p>

<highlight language="config">
&lt;Location /&gt;
&lt;Location "/"&gt;
   AllowMethods GET POST OPTIONS
&lt;/Location&gt;
</highlight>
@@ -73,7 +73,7 @@ HEAD sont consid&eacute;r&eacute;es comme &eacute;quivalentes. Le mot-cl&eacute;
d'imbrication :</p>

<highlight language="config">
&lt;Location /svn&gt;
&lt;Location "/svn"&gt;
   AllowMethods reset
&lt;/Location&gt;
</highlight>
+2 −2
Changes for docs/manual/mod/mod_authn_socache.xml.fr: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
<!-- English Revision: 1659892:1673563 (outdated) -->
<!-- English Revision: 1673563 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->

@@ -82,7 +82,7 @@ la charge des serveurs d'arri&egrave;re-plan</description>
    #AuthnCacheSOCache est optionnel. S'il est d&eacute;fini, il l'est pour
    #l'ensemble du serveur
AuthnCacheSOCache dbm
&lt;Directory /usr/www/myhost/private&gt;
&lt;Directory "/usr/www/myhost/private"&gt;
    AuthType Basic
    AuthName "Cached Authentication Example"
    AuthBasicProvider socache dbd
+5 −5
Changes for docs/manual/mod/mod_authz_dbm.xml.fr: 5 added lines, 5 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
<!-- English Revision: 1587031:1673563 (outdated) -->
<!-- English Revision: 1673563 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->

@@ -89,8 +89,8 @@ maintenant <code>dbm-group</code> :</em>
  AuthType Basic 
  AuthName "Secure Area"
  AuthBasicProvider dbm 
  AuthDBMUserFile site/data/users 
  AuthDBMGroupFile site/data/users 
  AuthDBMUserFile "site/data/users"
  AuthDBMGroupFile "site/data/users" 
  Require dbm-group admin 
&lt;/Directory&gt;
</highlight>
@@ -137,8 +137,8 @@ protection suppl&eacute;mentaire.</p>
    DBM aux fichiers de groupes et de mots de passe :</p>

    <highlight language="config">
AuthDBMGroupFile /www/userbase
AuthDBMUserFile /www/userbase
AuthDBMGroupFile "/www/userbase"
AuthDBMUserFile "/www/userbase"
    </highlight>

    <p>La cl&eacute; du fichier DBM unique est le nom d'utilisateur. La
+16 −16
Changes for docs/manual/mod/mod_cache.xml.fr: 16 added lines, 16 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
<!-- English Revision: 1590565:1673563 (outdated) -->
<!-- English Revision: 1673563 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->

@@ -174,15 +174,15 @@ LoadModule cache_module modules/mod_cache.so
&lt;IfModule mod_cache.c&gt;
    LoadModule cache_disk_module modules/mod_cache_disk.so
    &lt;IfModule mod_cache_disk.c&gt;
        CacheRoot c:/cacheroot
        CacheEnable disk  /
        CacheRoot "c:/cacheroot"
        CacheEnable disk  "/"
        CacheDirLevels 5
        CacheDirLength 3
    &lt;/IfModule&gt;
    
    # Lorsqu'on sert de mandataire, on ne met pas en cache la liste
# des mises &agrave; jour de s&eacute;curit&eacute;
    CacheDisable http://security.update.server/update-list/
    CacheDisable "http://security.update.server/update-list/"
&lt;/IfModule&gt;
      </highlight>
    </example>
@@ -256,7 +256,7 @@ LoadModule cache_module modules/mod_cache.so
#
&lt;IfModule mod_cache.c&gt;
    CacheLock on
    CacheLockPath /tmp/mod_cache-lock
    CacheLockPath "/tmp/mod_cache-lock"
    CacheLockMaxAge 5
&lt;/IfModule&gt;
      </highlight>
@@ -371,10 +371,10 @@ AddOutputFilterByType INCLUDES;CACHE;DEFLATE text/html
  suivant :</p>

  <highlight language="config">
CustomLog cached-requests.log common env=cache-hit
CustomLog uncached-requests.log common env=cache-miss
CustomLog revalidated-requests.log common env=cache-revalidate
CustomLog invalidated-requests.log common env=cache-invalidate
CustomLog "cached-requests.log" common env=cache-hit
CustomLog "uncached-requests.log" common env=cache-miss
CustomLog "revalidated-requests.log" common env=cache-revalidate
CustomLog "invalidated-requests.log" common env=cache-invalidate
  </highlight>

  <p>Pour les concepteurs de modules, une accroche (hook) nomm&eacute;e
@@ -435,13 +435,13 @@ en mandat direct dans les versions 2.2 et ant&eacute;rieures.</compatibility>
    <highlight language="config">
# Mise en cache de contenu (gestionnaire normal seulement)
CacheQuickHandler off
&lt;Location /foo&gt;
&lt;Location "/foo"&gt;
    CacheEnable disk
&lt;/Location&gt;

# Mise en cache via une expression rationnelle (gestionnaire normal seulement)
CacheQuickHandler off
&lt;LocationMatch foo$&gt;
&lt;LocationMatch "foo$"&gt;
    CacheEnable disk
&lt;/LocationMatch&gt;

@@ -464,9 +464,9 @@ CacheEnable disk http://www.example.org/

    <highlight language="config">
# Correspond &agrave; www.example.org et fooexample.org
CacheEnable  disk  http://*example.org/
CacheEnable  disk  "http://*example.org/"
# Correspond &agrave; www.example.org, mais pas &agrave; fooexample.org
CacheEnable  disk  http://.example.org/
CacheEnable  disk  "http://.example.org/"
    </highlight>

    <p>Depuis la version 2.2.12, on peut d&eacute;finir la variable
@@ -495,7 +495,7 @@ sp&eacute;cifi&eacute;es</description>

    <example><title>Exemple</title>
    <highlight language="config">
      CacheDisable /fichiers_locaux
      CacheDisable "/fichiers_locaux"
      </highlight>
    </example>

@@ -507,7 +507,7 @@ sp&eacute;cifi&eacute;es</description>

    <example><title>Exemple</title>
      <highlight language="config">
&lt;Location /foo&gt;
&lt;Location "/foo"&gt;
    CacheDisable on
&lt;/Location&gt;
      </highlight>
@@ -1170,7 +1170,7 @@ inverse</description>

  <highlight language="config">
# Remplace l'URL de base de la cl&eacute; de cache.
CacheKeyBaseURL http://www.example.com/
CacheKeyBaseURL "http://www.example.com/"
  </highlight>

  <note type="warning">Prenez garde en d&eacute;finissant cette directive. Si
+49 −7
Changes for docs/manual/mod/mod_deflate.xml.fr: 49 added lines, 7 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
<!-- English Revision: 1655907:1673563 (outdated) -->
<!-- English Revision: 1673563 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->

@@ -73,7 +73,7 @@ client</description>

      <highlight language="config">
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip        
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip        
	</highlight>

      <p>Si vous voulez limiter la compression &agrave; certains types MIME
@@ -112,8 +112,8 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
      dans l'exemple suivant :</p>

      <highlight language="config">
&lt;Location /dav-area&gt;
    ProxyPass http://example.com/
&lt;Location "/dav-area"&gt;
    ProxyPass "http://example.com/"
    SetOutputFilter INFLATE
&lt;/Location&gt;
      </highlight>
@@ -134,7 +134,7 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
      dans l'exemple suivant :</p>

      <highlight language="config">
&lt;Location /dav-area&gt;
&lt;Location "/dav-area"&gt;
    SetInputFilter DEFLATE
&lt;/Location&gt;
      </highlight>
@@ -194,6 +194,48 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
    </example>
</section>

<section id="precompressed"><title>Servir du contenu pr&eacute;compress&eacute;</title>

    <p>Comme <module>mod_deflate</module> recompresse le contenu demand&eacute; &agrave;
    chaque requ&ecirc;te, il est possible de gagner en performances en
    pr&eacute;compressant ce contenu, et en for&ccedil;ant mod_deflate &agrave; servir ce
    contenu pr&eacute;compress&eacute; sans avoir &agrave; le recompresser &agrave; chaque requ&ecirc;te.
    Pour ce faire, utilisez une configuration du style :</p>

    <highlight language="config">
&lt;IfModule mod_headers.c&gt;
    # Servir des fichiers CSS compress&eacute;s avec gzip, s'ils existent, et
    # si le client accepte gzip.
    RewriteCond "%{HTTP:Accept-encoding}" "gzip"
    RewriteCond "%{REQUEST_FILENAME}\.gz" "-s"
    RewriteRule "^(.*)\.css"              "$1\.css\.gz" [QSA]

    # Servir des fichiers JS compress&eacute;s avec gzip, s'ils existent, et
    # si le client accepte gzip.
    RewriteCond "%{HTTP:Accept-encoding}" "gzip"
    RewriteCond "%{REQUEST_FILENAME}\.gz" "-s"
    RewriteRule "^(.*)\.js"               "$1\.js\.gz" [QSA]


    # Servir des types de contenus corrects, et emp&ecirc;cher mod_deflate
    # d'effectuer un double gzip.
    RewriteRule "\.css\.gz$" "-" [T=text/css,E=no-gzip:1]
    RewriteRule "\.js\.gz$"  "-" [T=text/javascript,E=no-gzip:1]


    &lt;FilesMatch "(\.js\.gz|\.css\.gz)$"&gt;
      # Servir le type de codage correct.
      Header append Content-Encoding gzip

      # Force les mandataires &agrave; mettre en cache s&eacute;par&eacute;ment les fichiers
      # css/js gzipp&eacute;s &amp; non gzipp&eacute;s.
      Header append Vary Accept-Encoding
    &lt;/FilesMatch&gt;
&lt;/IfModule&gt;
    </highlight>

</section>

<directivesynopsis>
<name>DeflateFilterNote</name>
<description>Enregistre le taux de compression sous la forme d'une note
@@ -215,7 +257,7 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
      DeflateFilterNote ratio
    
      LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate
      CustomLog logs/deflate_log deflate
      CustomLog "logs/deflate_log" deflate
      </highlight>
    </example>

@@ -249,7 +291,7 @@ DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio

LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
CustomLog logs/deflate_log deflate
CustomLog "logs/deflate_log" deflate
</highlight>
    </example>
</usage>
Loading