You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2012/04/09 23:34:35 UTC
svn commit: r1311470 - in /httpd/httpd/branches/2.2.x/docs: man/ manual/
manual/mod/ manual/programs/ manual/rewrite/ manual/vhosts/
Author: nd
Date: Mon Apr 9 21:34:34 2012
New Revision: 1311470
URL: http://svn.apache.org/viewvc?rev=1311470&view=rev
Log:
update transformation
Modified:
httpd/httpd/branches/2.2.x/docs/man/ab.8
httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.fr
httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.tr.utf8
httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.de
httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.ja
httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.meta
httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.tr
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.en
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.tr.utf8
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ja
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ko
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.meta
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.tr
httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.fr
httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.html.fr
httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.xml.meta
httpd/httpd/branches/2.2.x/docs/manual/programs/ab.html.tr.utf8
httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.ko
httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.meta
httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.tr
httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.fr
httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.fr
httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.ja.utf8
httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.tr.utf8
httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ja
httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ko
httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.meta
httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.tr
Modified: httpd/httpd/branches/2.2.x/docs/man/ab.8
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/man/ab.8?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/man/ab.8 (original)
+++ httpd/httpd/branches/2.2.x/docs/man/ab.8 Mon Apr 9 21:34:34 2012
@@ -19,7 +19,7 @@
.el .ne 3
.IP "\\$1" \\$2
..
-.TH "AB" 8 "2012-03-21" "Apache HTTP Server" "ab"
+.TH "AB" 8 "2012-04-09" "Apache HTTP Server" "ab"
.SH NAME
ab \- Apache HTTP server benchmarking tool
@@ -130,6 +130,70 @@ String to use as attributes for <td>\&.
-Z \fIciphersuite\fR
Specify SSL/TLS cipher suite (See openssl ciphers)\&.
+.SH "DESCRIPTION OF OUTPUT"
+
+.PP
+The following list describes the values returned by ab:
+
+
+.TP
+Server Software
+The value, if any, returned in the \fIserver\fR HTTP header of the first successful response\&. This includes all characters in the header from beginning to the point a character with decimal value of 32 (most notably: a space or CR/LF) is detected\&.
+.TP
+Server Hostname
+The DNS or IP address given on the command line
+.TP
+Server Port
+The port to which ab is connecting\&. If no port is given on the command line, this will default to 80 for http and 443 for https\&.
+.TP
+SSL/TLS Protocol
+The protocol parameters negotiated between the client and server\&. This will only be printed if SSL is used\&.
+.TP
+Document Path
+The request URI parsed from the command line string\&.
+.TP
+Document Length
+This is size in bytes of the first succesfully returning document\&. If the document length changes during testing, the response is considered an error\&.
+.TP
+Concurrency Level
+The number of concurrent clients used during the test
+.TP
+Time taken for tests
+This is the time taken from the moment the first socket connection is created to the moment the last response is recieved
+.TP
+Complete requests
+The number of successful responses recieved
+.TP
+Failed requests
+The number of requests that were considered a failure\&. If the number is greater than zero, another line will be printed showing the numer of requests that failed due to connecting, reading, incorrect content length, or exceptions\&.
+.TP
+Write errors
+The number of errors that failed during write (broken pipe)\&.
+.TP
+Non-2xx responses
+The number of responses that were not in the 200 series of response codes\&. If all responses were 200, this field is not printed\&.
+.TP
+Keep-Alive requests
+The number of connections that resulted in Keep-Alive requests
+.TP
+Total body sent
+If configured to send data as part of the test, this is the total number of bytes sent during the tests\&. This field is omitted if the test did not include a body to send\&.
+.TP
+Total transferred
+The total number of bytes received from the server\&. This number is essentially the number of bytes sent over the wire\&.
+.TP
+HTML transferred
+The total number of document bytes received from the server\&. This number excludes bytes received in HTTP headers
+.TP
+Requests per second
+This is the number of requests per second\&. This value is the result of dividing the number of requests by the total time taken
+.TP
+Time per request
+The average time spent per request\&. The first value is calculated with the formula concurrency * timetaken * 1000 / done while the second value is calculated with the formula timetaken * 1000 / done
+.TP
+Transfer rate
+The rate of transfer as calculated by the formula totalread / 1024 / timetaken
+
.SH "BUGS"
.PP
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.fr?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.fr (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.fr Mon Apr 9 21:34:34 2012
@@ -3246,6 +3246,11 @@ serveurs virtuels à base de nom</td></t
</VirtualHost>
</code></p></div>
+ <p>La recherche du serveur virtuel à base de nom qui correspond le
+ mieux s'effectue selon l'ordre d'apparition des sections <code class="directive"><a href="#virtualhost"><virtualhost></a></code> dans le fichier
+ de configuration. Le premier serveur virtuel dont le <code class="directive"><a href="#servername">ServerName</a></code> ou le <code class="directive"><a href="#serveralias">ServerAlias</a></code> correspond est choisi, sans
+ préférence si le nom contient des caractères génériques ou pas.</p>
+
<h3>Voir aussi</h3>
<ul>
<li><code class="directive"><a href="#usecanonicalname">UseCanonicalName</a></code></li>
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.tr.utf8
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.tr.utf8?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.tr.utf8 [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/core.html.tr.utf8 [utf-8] Mon Apr 9 21:34:34 2012
@@ -27,6 +27,7 @@
<a href="../ja/mod/core.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="../tr/mod/core.html" title="Türkçe"> tr </a></p>
</div>
+<div class="outofdate">Bu çeviri güncel olmayabilir. Son değişiklikler için İngilizce sürüm geçerlidir.</div>
<table class="module"><tr><th><a href="module-dict.html#Description">Açıklama:</a></th><td>Apache HTTP Sunucusunda daima mevcut olan çekirdek
özellikler</td></tr>
<tr><th><a href="module-dict.html#Status">Durum:</a></th><td>Çekirdek</td></tr></table>
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.de
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.de?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.de (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.de Mon Apr 9 21:34:34 2012
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 167959:1301745 (outdated) -->
+<!-- English Revision: 167959:1308110 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.ja
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.ja?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.ja [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.ja [utf-8] Mon Apr 9 21:34:34 2012
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 608059:1301745 (outdated) -->
+<!-- English Revision: 608059:1308110 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.meta
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.meta?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.meta (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.meta Mon Apr 9 21:34:34 2012
@@ -11,6 +11,6 @@
<variant>en</variant>
<variant>fr</variant>
<variant outdated="yes">ja</variant>
- <variant>tr</variant>
+ <variant outdated="yes">tr</variant>
</variants>
</metafile>
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.tr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.tr?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.tr [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/core.xml.tr [utf-8] Mon Apr 9 21:34:34 2012
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1301745 -->
+<!-- English Revision: 1301745:1308110 (outdated) -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.en?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.en (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.en Mon Apr 9 21:34:34 2012
@@ -107,7 +107,12 @@
<tr class="odd"><td><code>%{<var>Foobar</var>}i</code></td>
<td>The contents of <code><var>Foobar</var>:</code> header line(s)
in the request sent to the server. Changes made by other
- modules (e.g. <code class="module"><a href="../mod/mod_headers.html">mod_headers</a></code>) affect this.
+ modules (e.g. <code class="module"><a href="../mod/mod_headers.html">mod_headers</a></code>) affect this. If you're
+ interested in what the request header was prior to when most
+ modules would have modified it, use <code class="module"><a href="../mod/mod_setenvif.html">mod_setenvif</a></code>
+ to copy the header into an internal environment variable and log
+ that value with the <code>%{<var>VARNAME</var>}e</code> described
+ above.
</td></tr>
<tr><td><code>%k</code></td>
<td>Number of keepalive requests handled on this connection. Interesting if
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.tr.utf8
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.tr.utf8?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.tr.utf8 [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.html.tr.utf8 [utf-8] Mon Apr 9 21:34:34 2012
@@ -26,6 +26,7 @@
<a href="../ko/mod/mod_log_config.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
<a href="../tr/mod/mod_log_config.html" title="Türkçe"> tr </a></p>
</div>
+<div class="outofdate">Bu çeviri güncel olmayabilir. Son değişiklikler için İngilizce sürüm geçerlidir.</div>
<table class="module"><tr><th><a href="module-dict.html#Description">Açıklama:</a></th><td>Sunucuya yapılan isteklerin günlük kayıtlarının tutulması
</td></tr>
<tr><th><a href="module-dict.html#Status">Durum:</a></th><td>Temel</td></tr>
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ja
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ja?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ja [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ja [utf-8] Mon Apr 9 21:34:34 2012
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 421100:989598 (outdated) -->
+<!-- English Revision: 421100:1307398 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ko
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ko?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ko [euc-kr] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.ko [euc-kr] Mon Apr 9 21:34:34 2012
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:989598 (outdated) -->
+<!-- English Revision: 105989:1307398 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.meta
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.meta?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.meta (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.meta Mon Apr 9 21:34:34 2012
@@ -10,6 +10,6 @@
<variant>en</variant>
<variant outdated="yes">ja</variant>
<variant outdated="yes">ko</variant>
- <variant>tr</variant>
+ <variant outdated="yes">tr</variant>
</variants>
</metafile>
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.tr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.tr?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.tr [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_log_config.xml.tr [utf-8] Mon Apr 9 21:34:34 2012
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 989598 -->
+<!-- English Revision: 989598:1307398 (outdated) -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>
Modified: httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.fr?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.fr (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/mod/mod_rewrite.html.fr Mon Apr 9 21:34:34 2012
@@ -149,102 +149,49 @@ SCRIPT_URI=http://en1.engelschall.com/u/
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Définit l'URL de base pour les réécritures au niveau
répertoire</td></tr>
<tr><th><a href="directive-dict.html#Syntax">Syntaxe:</a></th><td><code>RewriteBase <em>chemin URL</em></code></td></tr>
-<tr><th><a href="directive-dict.html#Default">Défaut:</a></th><td><code>Voir utilisation pour plus d'informations.</code></td></tr>
+<tr><th><a href="directive-dict.html#Default">Défaut:</a></th><td><code>None</code></td></tr>
<tr><th><a href="directive-dict.html#Context">Contexte:</a></th><td>répertoire, .htaccess</td></tr>
<tr><th><a href="directive-dict.html#Override">AllowOverride:</a></th><td>FileInfo</td></tr>
<tr><th><a href="directive-dict.html#Status">Statut:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_rewrite</td></tr>
</table>
- <p>La directive <code class="directive">RewriteBase</code> définit
- explicitement l'URL de base pour les réécritures au niveau du
- répertoire. Comme vous le verrez plus loin, la directive
- <code class="directive"><a href="#rewriterule">RewriteRule</a></code> peut
- être utilisée dans les fichiers de configuration au niveau du
- répertoire (<code>.htaccess</code>). Elle agit alors localement,
- en amputant le répertoire local de son préfixe avant traitement,
- et en n'appliquant les règles de réécriture que sur ce qui reste
- de l'URL. Lorsque le traitement est terminé, le préfixe est
- automatiquement rajouté à l'URL. La valeur par défaut est
- <code class="directive">RewriteBase</code>
- <em>chemin répertoire physique</em></p>
-
- <p>Lorsqu'une substitution intervient pour une nouvelle URL, ce
- module doit réinjecté l'URL dans le traitement du serveur. Pour
- y parvenir, il doit connaître le préfixe de l'URL ou l'URL de
- base correspondants. Par défaut, le préfixe est le chemin du
- fichier correspondant lui-même. <strong>Cependant, pour la
- plupart des sites web, les URLs ne correspondent PAS directement
- aux chemins des fichiers physiques, cette assertion s'avère
- ainsi souvent fausse !</strong>. C'est pourquoi vous pouvez
- utiliser la directive <code>RewriteBase</code> pour spécifier
- le préfixe correct.</p>
-
-<div class="note"> Si les URLs de votre serveur web ne correspondent
-<strong>pas</strong> directement aux chemins physiques des fichiers,
-vous devrez utiliser <code class="directive">RewriteBase</code> dans chaque
-fichier <code>.htaccess</code> où vous voudrez utiliser des
-directives <code class="directive"><a href="#rewriterule">RewriteRule</a></code>.
-</div>
+ <p>La directive <code class="directive">RewriteBase</code> permet de
+ spécifier le préfixe d'URL à utiliser dans un contexte de
+ répertoire (htaccess) pour les directives
+ <code class="directive">RewriteRule</code> qui réécrivent vers un chemin
+ relatif.</p>
+ <p>Cette directive est <em>obligatoire</em> si vous utilisez un
+ chemin relatif dans une substitution, et dans un contexte de
+ répertoire (htaccess), sauf si au moins une de ces conditions est
+ vérifiée :</p>
+ <ul>
+ <li>La requête initiale, ainsi que la substitution, sont dans
+ la <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> (c'est à
+ dire que pour y accéder, il n'est pas nécessaire d'utiliser
+ une directive telle qu'<code class="directive"><a href="../mod/mod_alias.html#alias">Alias</a></code>).</li>
+ <li>Le chemin du système de fichiers vers le répertoire
+ contenant la <code class="directive">RewriteRule</code>, suffixé par
+ la substitution relative est aussi valide en tant qu'URL sur
+ le serveur (ce qui est rare).</li>
+ </ul>
- <p> Par exemple, considérons le fichier de configuration de
- répertoire suivant :</p>
+<p>Dans l'exemple ci-dessous, la directive
+<code class="directive">RewriteBase</code> est nécessaire afin d'éviter une
+réécriture en http://example.com/opt/myapp-1.2.3/welcome.html car la
+ressource n'était pas relative à la racine des documents. Cette erreur
+de configuration aurait conduit le serveur à rechercher un répertoire
+"opt" à la racine des documents.</p>
<div class="example"><pre>
-#
-# /abc/def/.htaccess -- fichier de configuration pour le répertoire
-/abc/def
-# Rappel : /abc/def est le chemin physique de /xyz,
-# <em>ce qui veut dire</em> que la configuration du serveur comporte
-# une directive du style 'Alias /xyz /abc/def'.
-#
-
+DocumentRoot /var/www/example.com
+Alias /myapp /opt/myapp-1.2.3
+<Directory /opt/myapp-1.2.3>
RewriteEngine On
-
-# faisons savoir au serveur qu'on nous a atteint via /xyz et non par
-# le chemin physique /abc/def
-RewriteBase /xyz
-
-# maintenant les règles de réécriture
-RewriteRule ^avant\.html$ après.html
+RewriteBase /myapp/
+RewriteRule ^index\.html$ welcome.html
+</Directory>
</pre></div>
- <p>Dans l'exemple précédent, une requête pour
- <code>/xyz/avant.html</code> sera correctement réécrite sous
- sous sa forme chemin physique
- <code>/abc/def/après.html</code>.</p>
-
-<div class="note"><h3>Pour les hackers d'Apache</h3>
-<p>La liste suivante fournit des informations détaillées à propos des
-étapes du traitement interne :</p>
-<pre>
-Requête :
- /xyz/avant.html
-
-Traitement interne :
- /xyz/avant.html -> /abc/def/avant.html (Alias au niveau serveur)
- /abc/def/avant.html -> /abc/def/après.html (RewriteRule au niveau répertoire)
- /abc/def/après.html -> /xyz/après.html (RewriteBase au niveau répertoire)
- /xyz/après.html -> /abc/def/après.html (Alias au niveau serveur)
-
-Résultat :
- /abc/def/après.html
-
-</pre>
- <p>Tout ceci paraît très compliqué, mais correspond
- réellement au traitement interne d'Apache. Comme la
- réécriture au niveau du répertoire intervient plus tard
- au cours du traitement, la requête de réécriture doit être
- réinjectée dans le noyau d'Apache, comme s'il s'agissait
- d'une nouvelle requête (Voir les <a href="../rewrite/tech.html">détails techniques à
- propos de mod_rewrite</a>). La surcharge
- correspondante n'est pas aussi importante qu'il n'y
- paraît, car la réinjection est entièrement prise en charge
- en interne par Apache (comme c'est d'ailleurs le cas pour
- de nombreuses autres opérations effectuées à l'intérieur
- d'Apache).</p>
-</div>
-
-
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="RewriteCond" id="RewriteCond">RewriteCond</a> <a name="rewritecond" id="rewritecond">Directive</a></h2>
Modified: httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.html.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.html.fr?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.html.fr (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.html.fr Mon Apr 9 21:34:34 2012
@@ -27,8 +27,6 @@
<a href="./ru/new_features_2_0.html" hreflang="ru" rel="alternate" title="Russian"> ru </a> |
<a href="./tr/new_features_2_0.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
</div>
-<div class="outofdate">Cette traduction peut être périmée. Vérifiez la version
- anglaise pour les changements récents.</div>
<p>Ce document décrit les changements majeurs apportés entre les
versions 1.3 et 2.0 du serveur HTTP Apache.</p>
@@ -237,7 +235,7 @@
<dt><code class="module"><a href="./mod/mod_auth_dbm.html">mod_auth_dbm</a></code></dt>
<dd>Plusieurs bases de données DBM sont supportées, et sélectionnables
- au moyen de la directive <code class="directive"><a href="./mod/mod_auth_dbm.html#authdbmtype">AuthDBMType</a></code>.</dd>
+ au moyen du type <a href="../2.0/mod/mod_auth_dbm.html#AuthDBMType"><code>AuthDBMType</code></a>.</dd>
</dl>
</div></div>
<div class="bottomlang">
Modified: httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.xml.meta
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.xml.meta?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.xml.meta (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/new_features_2_0.xml.meta Mon Apr 9 21:34:34 2012
@@ -9,7 +9,7 @@
<variants>
<variant outdated="yes">de</variant>
<variant>en</variant>
- <variant outdated="yes">fr</variant>
+ <variant>fr</variant>
<variant outdated="yes">ja</variant>
<variant outdated="yes">ko</variant>
<variant outdated="yes">pt-br</variant>
Modified: httpd/httpd/branches/2.2.x/docs/manual/programs/ab.html.tr.utf8
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/programs/ab.html.tr.utf8?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/programs/ab.html.tr.utf8 [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/programs/ab.html.tr.utf8 [utf-8] Mon Apr 9 21:34:34 2012
@@ -22,6 +22,7 @@
<a href="../ko/programs/ab.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
<a href="../tr/programs/ab.html" title="Türkçe"> tr </a></p>
</div>
+<div class="outofdate">Bu çeviri güncel olmayabilir. Son değişiklikler için İngilizce sürüm geçerlidir.</div>
<p><code><strong>ab</strong></code> Apache Hiper Metin Aktarım Protokolü
(HTTP) sunucunuzun başarımını ölçmek amacıyla kullanabileceğiniz bir
Modified: httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.ko
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.ko?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.ko [euc-kr] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.ko [euc-kr] Mon Apr 9 21:34:34 2012
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:814805 (outdated) -->
+<!-- English Revision: 105989:1308465 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
Modified: httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.meta
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.meta?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.meta (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.meta Mon Apr 9 21:34:34 2012
@@ -9,6 +9,6 @@
<variants>
<variant>en</variant>
<variant outdated="yes">ko</variant>
- <variant>tr</variant>
+ <variant outdated="yes">tr</variant>
</variants>
</metafile>
Modified: httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.tr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.tr?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.tr [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/programs/ab.xml.tr [utf-8] Mon Apr 9 21:34:34 2012
@@ -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.tr.xsl"?>
-<!-- English Revision: 814805 -->
+<!-- English Revision: 814805:1308465 (outdated) -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>
Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.fr?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.fr (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.fr Mon Apr 9 21:34:34 2012
@@ -672,10 +672,31 @@ RewriteRule (.*\.html) docs.php?$1
qu'à la règle qui la suit immédiatement. Ainsi, si vous voulez
qu'une directive <code>RewriteCond</code> s'applique à plusieurs règles
<code>RewriteRule</code>, une technique possible consiste à inverser ces
-conditions et à utiliser le drapeau [Skip]. Cette technique permet
+conditions et à ajouter une <code>RewriteRule</code> avec le drapeau [Skip]. Cette technique permet
d'élaborer des pseudo-constructions if-then-else : la dernière règle du
bloc then contiendra <code>skip=N</code>, où N est le nombre de règles
-contenues dans le bloc else.</p>
+contenues dans le bloc else :</p>
+<div class="example"><p><code>
+# Est-ce que le fichier existe ?<br />
+RewriteCond %{REQUEST_FILENAME} !-f<br />
+RewriteCond %{REQUEST_FILENAME} !-d<br />
+
+# Create an if-then-else construct by skipping 3 lines if we meant to go to the "else" stanza.<br />
+RewriteRule .? - [S=3]<br />
+<br />
+# Si le fichier existe, alors :
+<span class="indent">
+ RewriteRule (.*\.gif) images.php?$1<br />
+ RewriteRule (.*\.html) docs.php?$1<br />
+ # Skip past the "else" stanza.<br />
+ RewriteRule .? - [S=1]<br />
+</span>
+# ELSE...
+<span class="indent">
+ RewriteRule (.*) 404.php?file=$1<br />
+</span>
+# END
+</code></p></div>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
Modified: httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.fr?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.fr (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.fr Mon Apr 9 21:34:34 2012
@@ -104,7 +104,7 @@ résident pour des serveurs virtuels</a>
que le processus résident doit gérer. Par exemple :</p>
<div class="example"><p><code>
- Listen www.smallco.com:80
+ Listen 192.168.0.1:80
</code></p></div>
<p>Il est recommandé d'utiliser une adresse IP plutôt qu'un nom
@@ -130,18 +130,18 @@ résident pour des serveurs virtuels</a>
valeurs différentes pour chaque serveur virtuel. Par exemple :</p>
<div class="example"><p><code>
- <VirtualHost www.smallco.com><br />
- ServerAdmin webmaster@mail.smallco.com<br />
+ <VirtualHost 192.168.0.1:80><br />
+ ServerAdmin webmaster@smallco.example.com<br />
DocumentRoot /groups/smallco/www<br />
- ServerName www.smallco.com<br />
+ ServerName smallco.example.com<br />
ErrorLog /groups/smallco/logs/error_log<br />
TransferLog /groups/smallco/logs/access_log<br />
</VirtualHost><br />
<br />
- <VirtualHost www.baygroup.org><br />
- ServerAdmin webmaster@mail.baygroup.org<br />
+ <VirtualHost 192.168.0.2:80><br />
+ ServerAdmin webmaster@baygroup.example.org<br />
DocumentRoot /groups/baygroup/www<br />
- ServerName www.baygroup.org<br />
+ ServerName baygroup.example.com<br />
ErrorLog /groups/baygroup/logs/error_log<br />
TransferLog /groups/baygroup/logs/access_log<br />
</VirtualHost>
@@ -161,7 +161,7 @@ résident pour des serveurs virtuels</a>
<p><code class="directive"><a href="../mod/mod_suexec.html#suexecusergroup">SuexecUserGroup</a></code> peut être
- utilisée à l'intérieur d'une directive VirtualHost si l'exécution se fait
+ utilisées à l'intérieur d'une directive VirtualHost si l'exécution se fait
sous suEXEC. (Voir <a href="../suexec.html">suEXEC</a>).</p>
<p><em>SÉCURITÉ :</em> lorsque vous spécifiez où écrire les
Modified: httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.ja.utf8
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.ja.utf8?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.ja.utf8 [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.ja.utf8 [utf-8] Mon Apr 9 21:34:34 2012
@@ -24,6 +24,10 @@
<a href="../ko/vhosts/ip-based.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
<a href="../tr/vhosts/ip-based.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
</div>
+<div class="outofdate">この日本語訳はすでに古くなっている
+ 可能性があります。
+ 最近更新された内容を見るには英語版をご覧下さい。
+ </div>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#requirements">システム要件</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#howto">Apache の設定方法</a></li>
Modified: httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.tr.utf8
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.tr.utf8?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.tr.utf8 [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.html.tr.utf8 [utf-8] Mon Apr 9 21:34:34 2012
@@ -24,6 +24,7 @@
<a href="../ko/vhosts/ip-based.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
<a href="../tr/vhosts/ip-based.html" title="Türkçe"> tr </a></p>
</div>
+<div class="outofdate">Bu çeviri güncel olmayabilir. Son değişiklikler için İngilizce sürüm geçerlidir.</div>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#requirements">Sistem gereksinimleri</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#howto">Apache nasıl ayarlanır?</a></li>
Modified: httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ja
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ja?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ja [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ja [utf-8] Mon Apr 9 21:34:34 2012
@@ -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.ja.xsl"?>
-<!-- English Revision: 421100 -->
+<!-- English Revision: 421100:1309686 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
Modified: httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ko
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ko?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ko [euc-kr] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.ko [euc-kr] Mon Apr 9 21:34:34 2012
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='EUC-KR' ?>
<!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 105989:421100 (outdated) -->
+<!-- English Revision: 105989:1309686 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
Modified: httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.meta
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.meta?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.meta (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.meta Mon Apr 9 21:34:34 2012
@@ -9,8 +9,8 @@
<variants>
<variant>en</variant>
<variant>fr</variant>
- <variant>ja</variant>
+ <variant outdated="yes">ja</variant>
<variant outdated="yes">ko</variant>
- <variant>tr</variant>
+ <variant outdated="yes">tr</variant>
</variants>
</metafile>
Modified: httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.tr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.tr?rev=1311470&r1=1311469&r2=1311470&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.tr [utf-8] (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/vhosts/ip-based.xml.tr [utf-8] Mon Apr 9 21:34:34 2012
@@ -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.tr.xsl"?>
-<!-- English Revision: 421100 -->
+<!-- English Revision: 421100:1309686 (outdated) -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>