diff options
author | Rich Bowen <rbowen@apache.org> | 2012-04-26 15:35:04 +0200 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2012-04-26 15:35:04 +0200 |
commit | 6f3fe670108c26161d744c360591b5edc762fe01 (patch) | |
tree | 1d9435de7e2c3b22765cfe9395cc71cc390542ae /docs/manual | |
parent | Remove trailing and leading newlines and spaces caused by xml formatting styles (diff) | |
download | apache2-6f3fe670108c26161d744c360591b5edc762fe01.tar.xz apache2-6f3fe670108c26161d744c360591b5edc762fe01.zip |
Update transforms.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330844 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
47 files changed, 656 insertions, 664 deletions
diff --git a/docs/manual/howto/auth.html.fr b/docs/manual/howto/auth.html.fr index 03863541c8..8f963bd355 100644 --- a/docs/manual/howto/auth.html.fr +++ b/docs/manual/howto/auth.html.fr @@ -27,6 +27,8 @@ <a href="../ko/howto/auth.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../tr/howto/auth.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>L'authentification est un processus qui vous permet de vérifier qu'une personne est bien celle qu'elle prétend être. L'autorisation diff --git a/docs/manual/howto/auth.xml.fr b/docs/manual/howto/auth.xml.fr index 3ff0ffc686..9fa71d59fa 100644 --- a/docs/manual/howto/auth.xml.fr +++ b/docs/manual/howto/auth.xml.fr @@ -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: 1328337:1330260 (outdated) --> +<!-- English Revision: 1328337:1330277 (outdated) --> <!-- French translation : Lucien GENTIS --> <!-- Reviwed by : Vincent Deffontaines --> diff --git a/docs/manual/howto/auth.xml.ja b/docs/manual/howto/auth.xml.ja index 3b4083eea9..c0f2a56681 100644 --- a/docs/manual/howto/auth.xml.ja +++ b/docs/manual/howto/auth.xml.ja @@ -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: 479777:1330260 (outdated) --> +<!-- English Revision: 479777:1330277 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/howto/auth.xml.ko b/docs/manual/howto/auth.xml.ko index e0bf89f5a5..b400200e35 100644 --- a/docs/manual/howto/auth.xml.ko +++ b/docs/manual/howto/auth.xml.ko @@ -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:1330260 (outdated) --> +<!-- English Revision: 105989:1330277 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/howto/auth.xml.tr b/docs/manual/howto/auth.xml.tr index 493a28b400..fd36a85c57 100644 --- a/docs/manual/howto/auth.xml.tr +++ b/docs/manual/howto/auth.xml.tr @@ -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: 1070891:1330260 (outdated) --> +<!-- English Revision: 1070891:1330277 (outdated) --> <!-- ===================================================== Translated by: Umut Samuk <umut belgeler.org> Reviewed by: Nilgün Belma Bugüner <nilgun belgeler.org> diff --git a/docs/manual/howto/cgi.html.fr b/docs/manual/howto/cgi.html.fr index 161c523740..397d8ee7b7 100644 --- a/docs/manual/howto/cgi.html.fr +++ b/docs/manual/howto/cgi.html.fr @@ -245,11 +245,12 @@ <code>premier.pl</code>, et placez le dans votre répertoire <code>cgi-bin</code>.</p> - <div class="example"><p><code> - #!/usr/bin/perl<br /> - print "Content-type: text/html\n\n";<br /> - print "Bonjour tout le monde . . ."; - </code></p></div> + <pre class="prettyprint lang-perl"> +#!/usr/bin/perl +print "Content-type: text/html\n\n"; +print "Bonjour tout le monde . . ."; + </pre> + <p>Même si Perl ne vous est pas familier, vous devriez être capable de comprendre le fonctionnement de ce programme. La @@ -518,15 +519,14 @@ variables d'environnement</a> aux variables de base fournies par défaut.</p> - <div class="example"><p><code> - #!/usr/bin/perl<br /> - print "Content-type: text/html\n\n";<br /> - foreach $key (keys %ENV) {<br /> - <span class="indent"> - print "$key --> $ENV{$key}<br>";<br /> - </span> - } - </code></p></div> + <pre class="prettyprint lang-perl"> +#!/usr/bin/perl +print "Content-type: text/html\n\n"; +foreach $key (keys %ENV) { + print "$key --> $ENV{$key}<br>"; +} + </pre> + <h3><a name="stdin" id="stdin">STDIN et STDOUT</a></h3> diff --git a/docs/manual/howto/cgi.html.ja.utf8 b/docs/manual/howto/cgi.html.ja.utf8 index 4ec688c79e..9845c69676 100644 --- a/docs/manual/howto/cgi.html.ja.utf8 +++ b/docs/manual/howto/cgi.html.ja.utf8 @@ -238,11 +238,12 @@ ã¨ã„ã†ãƒ•ã‚¡ã‚¤ãƒ«ã«ä¿å˜ã—ã€ãれを <code>cgi-bin</code> ディレクトリã«ç½®ã„ã¦ãã ã•ã„。</p> - <div class="example"><p><code> - #!/usr/bin/perl<br /> - print "Content-type: text/html\n\n";<br /> - print "Hello, World."; - </code></p></div> + <pre class="prettyprint lang-perl"> +#!/usr/bin/perl<br /> +print "Content-type: text/html\n\n";<br /> +print "Hello, World."; + </pre> + <p>Perl ã«ç²¾é€šã—ã¦ã„ãªãã¦ã‚‚〠何ãŒèµ·ã“ã‚‹ã‹ã‚’ç†è§£ã™ã‚‹ã“ã¨ã¯ã§ãã‚‹ã§ã—ょã†ã€‚1 行目ã¯ã€ @@ -459,15 +460,14 @@ <a href="../env.html">ã‚ãªãŸè‡ªèº«ã®ç’°å¢ƒå¤‰æ•°ã‚’åŠ ãˆã‚‹</a>ãŸã‚ã®ã€ 多ãã®ç•°ãªã‚‹æ–¹æ³•ã‚’用æ„ã—ã¦ã—ã¾ã™ã€‚</p> - <div class="example"><p><code> - #!/usr/bin/perl<br /> - print "Content-type: text/html\n\n";<br /> - foreach $key (keys %ENV) {<br /> - <span class="indent"> - print "$key --> $ENV{$key}<br>";<br /> - </span> - } - </code></p></div> + <pre class="prettyprint lang-perl"> +#!/usr/bin/perl +print "Content-type: text/html\n\n"; +foreach $key (keys %ENV) { + print "$key --> $ENV{$key}<br>"; +} + </pre> + <h3><a name="stdin" id="stdin">STDIN 㨠STDOUT</a></h3> diff --git a/docs/manual/howto/htaccess.html.fr b/docs/manual/howto/htaccess.html.fr index 0737000512..ac9f8d6dd6 100644 --- a/docs/manual/howto/htaccess.html.fr +++ b/docs/manual/howto/htaccess.html.fr @@ -27,6 +27,8 @@ <a href="../ko/howto/htaccess.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../pt-br/howto/htaccess.html" hreflang="pt-br" rel="alternate" title="Português (Brasil)"> pt-br </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>Les fichiers <code>.htaccess</code> fournissent une méthode pour modifier la configuration du serveur au niveau de chaque répertoire.</p> diff --git a/docs/manual/howto/htaccess.xml.fr b/docs/manual/howto/htaccess.xml.fr index 9010fbf6ba..c0959216fa 100644 --- a/docs/manual/howto/htaccess.xml.fr +++ b/docs/manual/howto/htaccess.xml.fr @@ -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: 1326216:1330260 (outdated) --> +<!-- English Revision: 1326216:1330277 (outdated) --> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> diff --git a/docs/manual/howto/htaccess.xml.ja b/docs/manual/howto/htaccess.xml.ja index 19ad0c61a2..cf227843d8 100644 --- a/docs/manual/howto/htaccess.xml.ja +++ b/docs/manual/howto/htaccess.xml.ja @@ -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: 574882:1330260 (outdated) --> +<!-- English Revision: 574882:1330277 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/howto/htaccess.xml.ko b/docs/manual/howto/htaccess.xml.ko index f9c5fe2ddf..5566525672 100644 --- a/docs/manual/howto/htaccess.xml.ko +++ b/docs/manual/howto/htaccess.xml.ko @@ -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: 151408:1330260 (outdated) --> +<!-- English Revision: 151408:1330277 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/howto/htaccess.xml.pt-br b/docs/manual/howto/htaccess.xml.pt-br index 13b1f3f253..23800439cf 100644 --- a/docs/manual/howto/htaccess.xml.pt-br +++ b/docs/manual/howto/htaccess.xml.pt-br @@ -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.pt-br.xsl"?> -<!-- English Revision: 151408:1330260 (outdated) --> +<!-- English Revision: 151408:1330277 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/howto/public_html.html.fr b/docs/manual/howto/public_html.html.fr index 3cf553d56c..817f382514 100644 --- a/docs/manual/howto/public_html.html.fr +++ b/docs/manual/howto/public_html.html.fr @@ -27,6 +27,8 @@ <a href="../ko/howto/public_html.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../tr/howto/public_html.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>Sur les systèmes multi-utilisateurs, on peut permettre à chaque utilisateur d'avoir un site web dans son répertoire home à l'aide de la diff --git a/docs/manual/howto/public_html.html.tr.utf8 b/docs/manual/howto/public_html.html.tr.utf8 index cd614dfda4..eddb4fb39e 100644 --- a/docs/manual/howto/public_html.html.tr.utf8 +++ b/docs/manual/howto/public_html.html.tr.utf8 @@ -27,6 +27,7 @@ <a href="../ko/howto/public_html.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../tr/howto/public_html.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>Çok kullanıcılı sistemlerde, <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code> yönergesi ile her kullanıcının kendi ev dizininde bir sitesi olması saÄŸlanabilir. diff --git a/docs/manual/howto/public_html.xml.fr b/docs/manual/howto/public_html.xml.fr index 555b9712be..88b3f33a15 100644 --- a/docs/manual/howto/public_html.xml.fr +++ b/docs/manual/howto/public_html.xml.fr @@ -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: 1174747:1330260 (outdated) --> +<!-- English Revision: 1174747:1330277 (outdated) --> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> diff --git a/docs/manual/howto/public_html.xml.ja b/docs/manual/howto/public_html.xml.ja index 730554c429..9c17d0c6f8 100644 --- a/docs/manual/howto/public_html.xml.ja +++ b/docs/manual/howto/public_html.xml.ja @@ -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: 659902:1330260 (outdated) --> +<!-- English Revision: 659902:1330277 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/howto/public_html.xml.ko b/docs/manual/howto/public_html.xml.ko index d9c30bbd62..c728188f8f 100644 --- a/docs/manual/howto/public_html.xml.ko +++ b/docs/manual/howto/public_html.xml.ko @@ -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: 151408:1330260 (outdated) --> +<!-- English Revision: 151408:1330277 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/howto/public_html.xml.tr b/docs/manual/howto/public_html.xml.tr index 220408ce01..f0c561ed4a 100644 --- a/docs/manual/howto/public_html.xml.tr +++ b/docs/manual/howto/public_html.xml.tr @@ -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: 1174747:1330260 (outdated) --> +<!-- English Revision: 1174747:1330277 (outdated) --> <!-- ===================================================== Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org> diff --git a/docs/manual/howto/ssi.html.fr b/docs/manual/howto/ssi.html.fr index 3b9ed344d6..5fa2fbaf7b 100644 --- a/docs/manual/howto/ssi.html.fr +++ b/docs/manual/howto/ssi.html.fr @@ -28,6 +28,8 @@ <a href="../ja/howto/ssi.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="../ko/howto/ssi.html" hreflang="ko" rel="alternate" title="Korean"> ko </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>Les SSI permettent d'ajouter du contenu dynamique à des documents HTML préexistants.</p> diff --git a/docs/manual/invoking.html.es b/docs/manual/invoking.html.es index e98ce091ff..6910f0b224 100644 --- a/docs/manual/invoking.html.es +++ b/docs/manual/invoking.html.es @@ -126,7 +126,7 @@ </ul> <p>Puede encontrar más información sobre cómo - solucionar problemas, en la sección de <a href="faq/">Preguntas Frecuentes</a> de Apache.</p> + solucionar problemas, en la sección de <a href="http://wiki.apache.org/httpd/FAQ">Preguntas Frecuentes</a> de Apache.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="boot" id="boot">Iniciar Apache al Iniciar el Sistema</a></h2> diff --git a/docs/manual/invoking.html.ja.utf8 b/docs/manual/invoking.html.ja.utf8 index 8018f68e75..3783a1b033 100644 --- a/docs/manual/invoking.html.ja.utf8 +++ b/docs/manual/invoking.html.ja.utf8 @@ -119,7 +119,7 @@ </ul> <p>より多ãã®å•é¡Œè§£æ±ºã®æ–¹ç–ã®èª¬æ˜Žã¯ã€ - Apache <a href="faq/">FAQ</a> ã‚’ã”覧下ã•ã„。</p> + Apache <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> ã‚’ã”覧下ã•ã„。</p> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> <h2><a name="boot" id="boot">ブート時ã®èµ·å‹•</a></h2> diff --git a/docs/manual/invoking.html.ko.euc-kr b/docs/manual/invoking.html.ko.euc-kr index 48cd11d592..e096afb2ab 100644 --- a/docs/manual/invoking.html.ko.euc-kr +++ b/docs/manual/invoking.html.ko.euc-kr @@ -102,7 +102,7 @@ ¼¹ö¸¦ ½ÃÀÛÇÏ·Á ÇÑ °æ¿ì.</li> </ul> - <p>±âŸ ¹®Á¦ÇØ°á ¹æ¹ýÀº ¾ÆÆÄÄ¡ <a href="faq/">FAQ</a>¸¦ + <p>±âŸ ¹®Á¦ÇØ°á ¹æ¹ýÀº ¾ÆÆÄÄ¡ <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a>¸¦ Âü°íÇ϶ó.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div> <div class="section"> diff --git a/docs/manual/misc/perf-tuning.html.fr b/docs/manual/misc/perf-tuning.html.fr index 35e720a6e6..dc7cd757a0 100644 --- a/docs/manual/misc/perf-tuning.html.fr +++ b/docs/manual/misc/perf-tuning.html.fr @@ -26,6 +26,8 @@ <a href="../ko/misc/perf-tuning.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../tr/misc/perf-tuning.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>Apache 2.x est un serveur web à usage général, conçu dans un but diff --git a/docs/manual/misc/perf-tuning.xml.fr b/docs/manual/misc/perf-tuning.xml.fr index 41c3bee864..fe3e3930df 100644 --- a/docs/manual/misc/perf-tuning.xml.fr +++ b/docs/manual/misc/perf-tuning.xml.fr @@ -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 : 1328334 --> +<!-- English Revision: 1328334:1330291 (outdated) --> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> diff --git a/docs/manual/misc/perf-tuning.xml.ko b/docs/manual/misc/perf-tuning.xml.ko index 785debf937..17194ee55a 100644 --- a/docs/manual/misc/perf-tuning.xml.ko +++ b/docs/manual/misc/perf-tuning.xml.ko @@ -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:1328334 (outdated) --> +<!-- English Revision: 105989:1330291 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/misc/perf-tuning.xml.meta b/docs/manual/misc/perf-tuning.xml.meta index a4ba1984eb..ebbf5c2492 100644 --- a/docs/manual/misc/perf-tuning.xml.meta +++ b/docs/manual/misc/perf-tuning.xml.meta @@ -8,7 +8,7 @@ <variants> <variant>en</variant> - <variant>fr</variant> + <variant outdated="yes">fr</variant> <variant outdated="yes">ko</variant> <variant outdated="yes">tr</variant> </variants> diff --git a/docs/manual/misc/perf-tuning.xml.tr b/docs/manual/misc/perf-tuning.xml.tr index 2198ed7c4d..6112518f82 100644 --- a/docs/manual/misc/perf-tuning.xml.tr +++ b/docs/manual/misc/perf-tuning.xml.tr @@ -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: 1174747:1328334 (outdated) --> +<!-- English Revision: 1174747:1330291 (outdated) --> <!-- ===================================================== Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org> diff --git a/docs/manual/misc/security_tips.html.fr b/docs/manual/misc/security_tips.html.fr index b239059385..8d9aa5b82f 100644 --- a/docs/manual/misc/security_tips.html.fr +++ b/docs/manual/misc/security_tips.html.fr @@ -26,6 +26,8 @@ <a href="../ko/misc/security_tips.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../tr/misc/security_tips.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 propose quelques conseils et astuces concernant les problèmes de sécurité liés diff --git a/docs/manual/misc/security_tips.html.tr.utf8 b/docs/manual/misc/security_tips.html.tr.utf8 index 642fe88670..a649e1e29c 100644 --- a/docs/manual/misc/security_tips.html.tr.utf8 +++ b/docs/manual/misc/security_tips.html.tr.utf8 @@ -26,6 +26,7 @@ <a href="../ko/misc/security_tips.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | <a href="../tr/misc/security_tips.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>Bir HTTP Sunucusunu ayarlarken dikkat edilmesi gerekenler ve bazı ipuçları. Öneriler kısmen Apache’ye özel kısmen de genel olacaktır.</p> diff --git a/docs/manual/misc/security_tips.xml.fr b/docs/manual/misc/security_tips.xml.fr index d160a4c7bd..ac514e0161 100644 --- a/docs/manual/misc/security_tips.xml.fr +++ b/docs/manual/misc/security_tips.xml.fr @@ -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 : 1300924 --> +<!-- English Revision: 1300924:1330291 (outdated) --> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> diff --git a/docs/manual/misc/security_tips.xml.ko b/docs/manual/misc/security_tips.xml.ko index cf5b9e30ec..94d8c0135f 100644 --- a/docs/manual/misc/security_tips.xml.ko +++ b/docs/manual/misc/security_tips.xml.ko @@ -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:1300924 (outdated) --> +<!-- English Revision: 105989:1330291 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/misc/security_tips.xml.meta b/docs/manual/misc/security_tips.xml.meta index 621cad21f5..b316e5297f 100644 --- a/docs/manual/misc/security_tips.xml.meta +++ b/docs/manual/misc/security_tips.xml.meta @@ -8,8 +8,8 @@ <variants> <variant>en</variant> - <variant>fr</variant> + <variant outdated="yes">fr</variant> <variant outdated="yes">ko</variant> - <variant>tr</variant> + <variant outdated="yes">tr</variant> </variants> </metafile> diff --git a/docs/manual/misc/security_tips.xml.tr b/docs/manual/misc/security_tips.xml.tr index b41f340d7a..1c2623f515 100644 --- a/docs/manual/misc/security_tips.xml.tr +++ b/docs/manual/misc/security_tips.xml.tr @@ -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: 1300924 --> +<!-- English Revision: 1300924:1330291 (outdated) --> <!-- ===================================================== Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org> diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 94af915813..b307511be2 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -140,7 +140,10 @@ On Windows from Apache httpd 2.3.3 and later.</td></tr> <p>Using <code>none</code> for an argument will disable any accept filters for that protocol. This is useful for protocols that require a server send data first, such as <code>ftp:</code> or <code>nntp</code>:</p> - <div class="example"><p><code>AcceptFilter nntp none</code></p></div> + <pre class="prettyprint lang-config"> + AcceptFilter nntp none + </pre> + <p>The default protocol names are <code>https</code> for port 443 and <code>http</code> for all other ports. To specify another protocol @@ -149,10 +152,11 @@ On Windows from Apache httpd 2.3.3 and later.</td></tr> directive.</p> <p>The default values on FreeBSD are:</p> - <div class="example"><p><code> - AcceptFilter http httpready <br /> - AcceptFilter https dataready - </code></p></div> + <pre class="prettyprint lang-config"> +AcceptFilter http httpready +AcceptFilter https dataready + </pre> + <p>The <code>httpready</code> accept filter buffers entire HTTP requests at the kernel level. Once an entire request is received, the kernel then @@ -163,10 +167,11 @@ On Windows from Apache httpd 2.3.3 and later.</td></tr> accf_data(9)</a> filter is used.</p> <p>The default values on Linux are:</p> - <div class="example"><p><code> - AcceptFilter http data <br /> - AcceptFilter https data - </code></p></div> + <pre class="prettyprint lang-config"> +AcceptFilter http data +AcceptFilter https data + </pre> + <p>Linux's <code>TCP_DEFER_ACCEPT</code> does not support buffering http requests. Any value besides <code>none</code> will enable @@ -176,10 +181,11 @@ On Windows from Apache httpd 2.3.3 and later.</td></tr> tcp(7)</a> man page.</p> <p>The default values on Windows are:</p> - <div class="example"><p><code> - AcceptFilter http data <br /> - AcceptFilter https data - </code></p></div> + <pre class="prettyprint lang-config"> +AcceptFilter http data +AcceptFilter https data + </pre> + <p>Window's mpm_winnt interprets the AcceptFilter to toggle the AcceptEx() API, and does not support http protocol buffering. There are two values @@ -261,15 +267,14 @@ On Windows from Apache httpd 2.3.3 and later.</td></tr> the request, so you can use the following configuration to enable such a script:</p> - <div class="example"><p><code> - <Files "mypaths.shtml"><br /> - <span class="indent"> - Options +Includes<br /> - SetOutputFilter INCLUDES<br /> - AcceptPathInfo On<br /> - </span> - </Files> - </code></p></div> + <pre class="prettyprint lang-config"> +<Files "mypaths.shtml"> + Options +Includes + SetOutputFilter INCLUDES + AcceptPathInfo On +</Files> + </pre> + </div> @@ -289,9 +294,8 @@ On Windows from Apache httpd 2.3.3 and later.</td></tr> configuration files are <a href="#allowoverride">enabled for that directory</a>. For example:</p> - <div class="example"><p><code> - AccessFileName .acl - </code></p></div> + <pre class="prettyprint lang-config">AccessFileName .acl</pre> + <p>before returning the document <code>/usr/local/web/index.html</code>, the server will read @@ -299,13 +303,12 @@ On Windows from Apache httpd 2.3.3 and later.</td></tr> <code>/usr/local/.acl</code> and <code>/usr/local/web/.acl</code> for directives, unless they have been disabled with</p> - <div class="example"><p><code> - <Directory /><br /> - <span class="indent"> - AllowOverride None<br /> - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory /> + AllowOverride None +</Directory> + </pre> + <h3>See also</h3> <ul> @@ -340,9 +343,8 @@ content-type is <code>text/plain</code> or <code>text/html</code></td></tr> charset values</a> for use in Internet media types (MIME types). For example:</p> - <div class="example"><p><code> - AddDefaultCharset utf-8 - </code></p></div> + <pre class="prettyprint lang-config">AddDefaultCharset utf-8</pre> + <p><code class="directive">AddDefaultCharset</code> should only be used when all of the text resources to which it applies are known to be in that @@ -525,9 +527,8 @@ NoDecode option available in 2.3.12 and later.</td></tr> <p>Example:</p> - <div class="example"><p><code> - AllowOverride AuthConfig Indexes - </code></p></div> + <pre class="prettyprint lang-config">AllowOverride AuthConfig Indexes</pre> + <p>In the example above all directives that are neither in the group <code>AuthConfig</code> nor <code>Indexes</code> cause an internal @@ -580,10 +581,11 @@ NoDecode option available in 2.3.12 and later.</td></tr> <p>Example:</p> - <div class="example"><p><code> - AllowOverride None<br /> - AllowOverrideList Redirect RedirectMatch - </code></p></div> + <pre class="prettyprint lang-config"> +AllowOverride None +AllowOverrideList Redirect RedirectMatch + </pre> + <p>In the example above only the <code>Redirect</code> and <code>RedirectMatch</code> directives are allowed. All others will @@ -591,10 +593,11 @@ NoDecode option available in 2.3.12 and later.</td></tr> <p>Example:</p> - <div class="example"><p><code> - AllowOverride AuthConfig<br /> - AllowOverrideList CookieTracking CookieName - </code></p></div> + <pre class="prettyprint lang-config"> +AllowOverride AuthConfig +AllowOverrideList CookieTracking CookieName + </pre> + <p>In the example above <code class="directive"><a href="#allowoverride ">AllowOverride </a></code> grants permission to the <code>AuthConfig</code> @@ -684,9 +687,11 @@ headers</td></tr> (shared memory, locks, etc.). If set as a relative path, the full path will be relative to <code class="directive">ServerRoot</code></p> - <div class="example"><h3>Example</h3><p><code> - DefaultRuntimeDir scratch/ - </code></p></div> + <pre class="prettyprint lang-config"> +#Example +DefaultRuntimeDir scratch/ + </pre> + <p>The default location of <code class="directive">DefaultRuntimeDir</code> may be modified by changing the <code>DEFAULT_REL_RUNTIMEDIR</code> #define @@ -724,9 +729,8 @@ which no other media type configuration could be found. of configuration files, it may be specified with the value <code>none</code>, meaning no default media type. For example:</p> - <div class="example"><p><code> - DefaultType None - </code></p></div> + <pre class="prettyprint lang-config">DefaultType None</pre> + <p><code>DefaultType None</code> is only available in httpd-2.2.7 and later.</p> @@ -761,15 +765,16 @@ which no other media type configuration could be found. the <code>${VAR}</code> syntax. The variable is always globally defined and not limited to the scope of the surrounding config section.</p> - <div class="example"><p><code> - <IfDefine TEST><br /> - Define servername test.example.com<br /> - </IfDefine><br /> - <IfDefine !TEST><br /> - Define servername www.example.com<br /> - Define SSL<br /> - </IfDefine><br /> - </code></p></div> + <pre class="prettyprint lang-config"> +<IfDefine TEST> + Define servername test.example.com +</IfDefine> +<IfDefine !TEST> + Define servername www.example.com + Define SSL +</IfDefine> + </pre> + <p>Variable names may not contain colon ":" characters, to avoid clashes with <code class="directive"><a href="../mod/mod_rewrite.html#rewritemap">RewriteMap</a></code>'s syntax.</p> @@ -801,13 +806,12 @@ named file-system directory, sub-directories, and their contents.</td></tr> <code>/home/user/public_html</code>, but <code><Directory /home/*/public_html></code> will match. Example:</p> - <div class="example"><p><code> - <Directory /usr/local/httpd/htdocs><br /> - <span class="indent"> - Options Indexes FollowSymLinks<br /> - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory "/usr/local/httpd/htdocs"> + Options Indexes FollowSymLinks +</Directory> + </pre> + <div class="note"> <p>Be careful with the <var>directory-path</var> arguments: @@ -822,9 +826,8 @@ named file-system directory, sub-directories, and their contents.</td></tr> expressions</a> can also be used, with the addition of the <code>~</code> character. For example:</p> - <div class="example"><p><code> - <Directory ~ "^/www/.*/[0-9]{3}"> - </code></p></div> + <pre class="prettyprint lang-config"><Directory ~ "^/www/.*/[0-9]{3}"></pre> + <p>would match directories in <code>/www/</code> that consisted of three numbers.</p> @@ -835,19 +838,16 @@ named file-system directory, sub-directories, and their contents.</td></tr> first, interspersed with the directives from the <a href="#accessfilename">.htaccess</a> files. For example, with</p> - <div class="example"><p><code> - <Directory /><br /> - <span class="indent"> - AllowOverride None<br /> - </span> - </Directory><br /> - <br /> - <Directory /home><br /> - <span class="indent"> - AllowOverride FileInfo<br /> - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory /> + AllowOverride None +</Directory> + +<Directory "/home"> + AllowOverride FileInfo +</Directory> + </pre> + <p>for access to the document <code>/home/web/dir/doc.html</code> the steps are:</p> @@ -869,13 +869,12 @@ named file-system directory, sub-directories, and their contents.</td></tr> expressions are tested in the order they appeared in the configuration file. For example, with</p> - <div class="example"><p><code> - <Directory ~ abc$><br /> - <span class="indent"> - # ... directives here ...<br /> - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory ~ "abc$"> +# ... directives here ... +</Directory> + </pre> + <p>the regular expression section won't be considered until after all normal <code class="directive"><Directory></code>s and @@ -890,13 +889,12 @@ named file-system directory, sub-directories, and their contents.</td></tr> recommended that you change this with a block such as</strong></p> - <div class="example"><p><code> - <Directory /><br /> - <span class="indent"> - Require all denied<br /> - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory /> + Require all denied +</Directory> + </pre> + <p><strong>and then override this for directories you <em>want</em> accessible. See the <a href="../misc/security_tips.html">Security Tips</a> page for more @@ -932,9 +930,8 @@ the contents of file-system directories matching a regular expression.</td></tr> However, it takes as an argument a <a class="glossarylink" href="../glossary.html#regex" title="see glossary">regular expression</a>. For example:</p> - <div class="example"><p><code> - <DirectoryMatch "^/www/(.+/)?[0-9]{3}"> - </code></p></div> + <pre class="prettyprint lang-config"><DirectoryMatch "^/www/(.+/)?[0-9]{3}"></pre> + <p>would match directories in <code>/www/</code> that consisted of three numbers.</p> @@ -979,9 +976,8 @@ from the web</td></tr> path from the requested URL to the document root to make the path to the document. Example:</p> - <div class="example"><p><code> - DocumentRoot /usr/web - </code></p></div> + <pre class="prettyprint lang-config">DocumentRoot "/usr/web"</pre> + <p>then an access to <code>http://my.example.com/index.html</code> refers to @@ -1017,14 +1013,15 @@ satisfied by a request at runtime</td></tr> in the same scope has not been applied. For example: In </p> - <div class="example"><p><code> - <If "-z req('Host')"><br /> - ...<br /> - </If><br /> - <Else><br /> - ...<br /> - </Else><br /> - </code></p></div> + <pre class="prettyprint lang-config"> +<If "-z req('Host')"> +# ... +</If> +<Else> +# ... +</Else> + </pre> + <p> The <code class="directive"><If></code> would match HTTP/1.0 requests without a <var>Host:</var> header and the @@ -1064,17 +1061,18 @@ satisfied</td></tr> <code class="directive"><ElseIf></code> section in the same scope has not been applied. For example: In </p> - <div class="example"><p><code> - <If "-R '10.1.0.0/16'"><br /> - ...<br /> - </If><br /> - <ElseIf "-R '10.0.0.0/8'"><br /> - ...<br /> - </ElseIf><br /> - <Else><br /> - ...<br /> - </Else><br /> - </code></p></div> + <pre class="prettyprint lang-config"> +<If "-R '10.1.0.0/16'"> +#... +</If> +<ElseIf "-R '10.0.0.0/8'"> +#... +</ElseIf> +<Else> +#... +</Else> + </pre> + <p>The <code class="directive"><ElseIf></code> would match if the remote address of a request belongs to the subnet 10.0.0.0/8 but @@ -1129,20 +1127,18 @@ for a complete reference and more examples.</li> <p>For server configurations that are vulnerable to these problems, you should disable memory-mapping of delivered files by specifying:</p> - <div class="example"><p><code> - EnableMMAP Off - </code></p></div> + <pre class="prettyprint lang-config">EnableMMAP Off</pre> + <p>For NFS mounted files, this feature may be disabled explicitly for the offending files by specifying:</p> - <div class="example"><p><code> - <Directory "/path-to-nfs-files"> - <span class="indent"> - EnableMMAP Off - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory "/path-to-nfs-files"> + EnableMMAP Off +</Directory> + </pre> + </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -1187,20 +1183,18 @@ version 2.3.9.</td></tr> <p>For server configurations that are not vulnerable to these problems, you may enable this feature by specifying:</p> - <div class="example"><p><code> - EnableSendfile On - </code></p></div> + <pre class="prettyprint lang-config">EnableSendfile On</pre> + <p>For network mounted files, this feature may be disabled explicitly for the offending files by specifying:</p> - <div class="example"><p><code> - <Directory "/path-to-nfs-files"> - <span class="indent"> - EnableSendfile Off - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory "/path-to-nfs-files"> + EnableSendfile Off +</Directory> + </pre> + <p>Please note that the per-directory and .htaccess configuration of <code class="directive">EnableSendfile</code> is not supported by <code class="module"><a href="../mod/mod_cache_disk.html">mod_cache_disk</a></code>. @@ -1224,24 +1218,26 @@ version 2.3.9.</td></tr> configuration parsing. The typical use is for reporting required modules which are missing from the configuration.</p> - <div class="example"><h3>Example</h3><p><code> - # ensure that mod_include is loaded<br /> - <IfModule !include_module><br /> - Error mod_include is required by mod_foo. Load it with LoadModule.<br /> - </IfModule><br /> - <br /> - # ensure that exactly one of SSL,NOSSL is defined<br /> - <IfDefine SSL><br /> - <IfDefine NOSSL><br /> - Error Both SSL and NOSSL are defined. Define only one of them.<br /> - </IfDefine><br /> - </IfDefine><br /> - <IfDefine !SSL><br /> - <IfDefine !NOSSL><br /> - Error Either SSL or NOSSL must be defined.<br /> - </IfDefine><br /> - </IfDefine><br /> - </code></p></div> + <pre class="prettyprint lang-config"> +# Example +# ensure that mod_include is loaded +<IfModule !include_module> + Error mod_include is required by mod_foo. Load it with LoadModule. +</IfModule> + +# ensure that exactly one of SSL,NOSSL is defined +<IfDefine SSL> +<IfDefine NOSSL> + Error Both SSL and NOSSL are defined. Define only one of them. +</IfDefine> +</IfDefine> +<IfDefine !SSL> +<IfDefine !NOSSL> + Error Either SSL or NOSSL must be defined. +</IfDefine> +</IfDefine> + </pre> + </div> @@ -1282,13 +1278,14 @@ in case of an error</td></tr> full URL which the client can resolve. Alternatively, a message can be provided to be displayed by the browser. Examples:</p> - <div class="example"><p><code> - ErrorDocument 500 http://foo.example.com/cgi-bin/tester<br /> - ErrorDocument 404 /cgi-bin/bad_urls.pl<br /> - ErrorDocument 401 /subscription_info.html<br /> - ErrorDocument 403 "Sorry can't allow you access today"<br /> - ErrorDocument 403 Forbidden! - </code></p></div> + <pre class="prettyprint lang-config"> +ErrorDocument 500 http://foo.example.com/cgi-bin/tester +ErrorDocument 404 /cgi-bin/bad_urls.pl +ErrorDocument 401 /subscription_info.html +ErrorDocument 403 "Sorry can't allow you access today" +ErrorDocument 403 Forbidden! + </pre> + <p>Additionally, the special value <code>default</code> can be used to specify Apache httpd's simple hardcoded message. While not required @@ -1296,14 +1293,14 @@ in case of an error</td></tr> Apache httpd's simple hardcoded message for configurations that would otherwise inherit an existing <code class="directive">ErrorDocument</code>.</p> - <div class="example"><p><code> - ErrorDocument 404 /cgi-bin/bad_urls.pl<br /><br /> - <Directory /web/docs><br /> - <span class="indent"> - ErrorDocument 404 default<br /> - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +ErrorDocument 404 /cgi-bin/bad_urls.pl + +<Directory /web/docs> + ErrorDocument 404 default +</Directory> + </pre> + <p>Note that when you specify an <code class="directive">ErrorDocument</code> that points to a remote URL (ie. anything with a method such as @@ -1363,17 +1360,15 @@ in case of an error</td></tr> the <var>file-path</var> is not absolute then it is assumed to be relative to the <code class="directive"><a href="#serverroot">ServerRoot</a></code>.</p> - <div class="example"><h3>Example</h3><p><code> - ErrorLog /var/log/httpd/error_log - </code></p></div> + <pre class="prettyprint lang-config">ErrorLog "/var/log/httpd/error_log"</pre> + <p>If the <var>file-path</var> begins with a pipe character "<code>|</code>" then it is assumed to be a command to spawn to handle the error log.</p> - <div class="example"><h3>Example</h3><p><code> - ErrorLog "|/usr/local/bin/httpd_errors" - </code></p></div> + <pre class="prettyprint lang-config">ErrorLog "|/usr/local/bin/httpd_errors"</pre> + <p>See the notes on <a href="../logs.html#piped">piped logs</a> for more information.</p> @@ -1387,9 +1382,8 @@ in case of an error</td></tr> in individual virtual hosts, the final facility specified affects the entire server.</p> - <div class="example"><h3>Example</h3><p><code> - ErrorLog syslog:user - </code></p></div> + <pre class="prettyprint lang-config">ErrorLog syslog:user</pre> + <p>SECURITY: See the <a href="../misc/security_tips.html#serverroot">security tips</a> document for details on why your security could be compromised @@ -1422,9 +1416,11 @@ in case of an error</td></tr> supplementary information is logged in the error log in addition to the actual log message.</p> - <div class="example"><h3>Simple example</h3><p><code> - ErrorLogFormat "[%t] [%l] [pid %P] %F: %E: [client %a] %M" - </code></p></div> + <pre class="prettyprint lang-config"> +#Simple example +ErrorLogFormat "[%t] [%l] [pid %P] %F: %E: [client %a] %M" + </pre> + <p>Specifying <code>connection</code> or <code>request</code> as first parameter allows to specify additional formats, causing additional @@ -1552,32 +1548,36 @@ in case of an error</td></tr> with error log lines. If <code class="module"><a href="../mod/mod_unique_id.html">mod_unique_id</a></code> is loaded, its unique id will be used as log ID for requests.</p> - <div class="example"><h3>Example (default format)</h3><p><code> - ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] - %M% ,\ referer\ %{Referer}i" - </code></p></div> + <pre class="prettyprint lang-config"> +#Example (default format) +ErrorLogFormat "[%{u}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i" + </pre> + <p>This would result in error messages such as:</p> - <div class="example"><p><code> + <div class="example"><p><code> [Thu May 12 08:28:57.652118 2011] [core:error] [pid 8777:tid 4326490112] [client ::1:58619] File does not exist: /usr/local/apache2/htdocs/favicon.ico </code></p></div> <p>Notice that, as discussed above, some fields are ommitted entirely because they are not defined.</p> - <div class="example"><h3>Example (similar to the 2.2.x format)</h3><p><code> - ErrorLogFormat "[%t] [%l] %7F: %E: [client\ %a] - %M% ,\ referer\ %{Referer}i" - </code></p></div> + <pre class="prettyprint lang-config"> +#Example (similar to the 2.2.x format) +ErrorLogFormat "[%t] [%l] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i" + </pre> + + + <pre class="prettyprint lang-config"> +#Advanced example with request/connection log IDs +ErrorLogFormat "[%{uc}t] [%-m:%-l] [R:%L] [C:%{C}L] %7F: %E: %M" +ErrorLogFormat request "[%{uc}t] [R:%L] Request %k on C:%{c}L pid:%P tid:%T" +ErrorLogFormat request "[%{uc}t] [R:%L] UA:'%+{User-Agent}i'" +ErrorLogFormat request "[%{uc}t] [R:%L] Referer:'%+{Referer}i'" +ErrorLogFormat connection "[%{uc}t] [C:%{c}L] local\ %a remote\ %A" + </pre> - <div class="example"><h3>Advanced example with request/connection log IDs</h3><p><code> - ErrorLogFormat "[%{uc}t] [%-m:%-l] [R:%L] [C:%{C}L] %7F: %E: %M"<br /> - ErrorLogFormat request "[%{uc}t] [R:%L] Request %k on C:%{c}L pid:%P tid:%T"<br /> - ErrorLogFormat request "[%{uc}t] [R:%L] UA:'%+{User-Agent}i'"<br /> - ErrorLogFormat request "[%{uc}t] [R:%L] Referer:'%+{Referer}i'"<br /> - ErrorLogFormat connection "[%{uc}t] [C:%{c}L] local\ %a remote\ %A"<br /> - </code></p></div> <h3>See also</h3> @@ -1654,7 +1654,8 @@ earlier.</td></tr> <dd>The number of bytes in the file will be included</dd> <dt><strong>All</strong></dt> <dd>All available fields will be used. This is equivalent to: - <div class="example"><p><code>FileETag INode MTime Size</code></p></div></dd> + <pre class="prettyprint lang-config">FileETag INode MTime Size</pre> +</dd> <dt><strong>None</strong></dt> <dd>If a document is file-based, no <code>ETag</code> field will be included in the response</dd> @@ -1721,9 +1722,8 @@ filenames</td></tr> can also be used, with the addition of the <code>~</code> character. For example:</p> - <div class="example"><p><code> - <Files ~ "\.(gif|jpe?g|png)$"> - </code></p></div> + <pre class="prettyprint lang-config"><Files ~ "\.(gif|jpe?g|png)$"></pre> + <p>would match most common Internet graphics formats. <code class="directive"><a href="#filesmatch"><FilesMatch></a></code> is preferred, however.</p> @@ -1757,9 +1757,8 @@ filenames</td></tr> does. However, it accepts a <a class="glossarylink" href="../glossary.html#regex" title="see glossary">regular expression</a>. For example:</p> - <div class="example"><p><code> - <FilesMatch "\.(gif|jpe?g|png)$"> - </code></p></div> + <pre class="prettyprint lang-config"><FilesMatch "\.(gif|jpe?g|png)$"></pre> + <p>would match most common Internet graphics formats.</p> @@ -1792,9 +1791,8 @@ media type in the HTTP Content-Type header field</td></tr> GIF files, but did not want to label them all with <code>.gif</code>, you might want to use:</p> - <div class="example"><p><code> - ForceType image/gif - </code></p></div> + <pre class="prettyprint lang-config">ForceType image/gif</pre> + <p>Note that this directive overrides other indirect media type associations defined in mime.types or via the @@ -1804,21 +1802,18 @@ media type in the HTTP Content-Type header field</td></tr> <code class="directive">ForceType</code> settings by using the value of <code>None</code>:</p> - <div class="example"><p><code> - # force all files to be image/gif:<br /> - <Location /images><br /> - <span class="indent"> - ForceType image/gif<br /> - </span> - </Location><br /> - <br /> - # but normal mime-type associations here:<br /> - <Location /images/mixed><br /> - <span class="indent"> - ForceType None<br /> - </span> - </Location> - </code></p></div> + <pre class="prettyprint lang-config"> +# force all files to be image/gif: +<Location /images> + ForceType image/gif +</Location> + +# but normal mime-type associations here: +<Location /images/mixed> + ForceType None +</Location> + </pre> + <p>This directive primarily overrides the content types generated for static files served out of the filesystem. For resources other than @@ -1907,9 +1902,8 @@ satisfied by a request at runtime</td></tr> directives if and only if the expression evaluates to true. For example:</p> - <div class="example"><p><code> - <If "-z req('Host')"> - </code></p></div> + <pre class="prettyprint lang-config"><If "-z req('Host')"></pre> + <p>would match HTTP/1.0 requests without a <var>Host:</var> header. Expressions may contain various shell-like operators for string @@ -1918,9 +1912,8 @@ satisfied by a request at runtime</td></tr> and others (<code>-n</code>, <code>-z</code>, <code>-f</code>, ...). It is also possible to use regular expressions, </p> - <div class="example"><p><code> - <If "%{QUERY_STRING} =~ /(delete|commit)=.*?elem/"> - </code></p></div> + <pre class="prettyprint lang-config"><If "%{QUERY_STRING} =~ /(delete|commit)=.*?elem/"></pre> + <p>shell-like pattern matches and many other operations. These operations can be done on request headers (<code>req</code>), environment variables @@ -1984,32 +1977,23 @@ if a test is true at startup</td></tr> nest-able, which can be used to implement simple multiple-parameter tests. Example:</p> - <div class="example"><p><code> - httpd -DReverseProxy -DUseCache -DMemCache ...<br /> - <br /> - # httpd.conf<br /> - <IfDefine ReverseProxy><br /> - <span class="indent"> - LoadModule proxy_module modules/mod_proxy.so<br /> - LoadModule proxy_http_module modules/mod_proxy_http.so<br /> - <IfDefine UseCache><br /> - <span class="indent"> - LoadModule cache_module modules/mod_cache.so<br /> - <IfDefine MemCache><br /> - <span class="indent"> - LoadModule mem_cache_module modules/mod_mem_cache.so<br /> - </span> - </IfDefine><br /> - <IfDefine !MemCache><br /> - <span class="indent"> - LoadModule cache_disk_module modules/mod_cache_disk.so<br /> - </span> - </IfDefine> - </span> - </IfDefine> - </span> - </IfDefine> - </code></p></div> + <div class="example"><p><code>httpd -DReverseProxy -DUseCache -DMemCache ...</code></p></div> + <pre class="prettyprint lang-config"> +<IfDefine ReverseProxy> + LoadModule proxy_module modules/mod_proxy.so + LoadModule proxy_http_module modules/mod_proxy_http.so + <IfDefine UseCache> + LoadModule cache_module modules/mod_cache.so + <IfDefine MemCache> + LoadModule mem_cache_module modules/mod_mem_cache.so + </IfDefine> + <IfDefine !MemCache> + LoadModule cache_disk_module modules/mod_cache_disk.so + </IfDefine> + </IfDefine> +</IfDefine> + </pre> + </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -2101,32 +2085,32 @@ wildcard matching available in 2.3.6 and later</td></tr> <p>Examples:</p> - <div class="example"><p><code> - Include /usr/local/apache2/conf/ssl.conf<br /> - Include /usr/local/apache2/conf/vhosts/*.conf - </code></p></div> + <pre class="prettyprint lang-config"> +Include /usr/local/apache2/conf/ssl.conf +Include /usr/local/apache2/conf/vhosts/*.conf + </pre> + <p>Or, providing paths relative to your <code class="directive"><a href="#serverroot">ServerRoot</a></code> directory:</p> - <div class="example"><p><code> - Include conf/ssl.conf<br /> - Include conf/vhosts/*.conf - </code></p></div> + <pre class="prettyprint lang-config"> +Include conf/ssl.conf +Include conf/vhosts/*.conf + </pre> + <p>Wildcards may be included in the directory or file portion of the path. This example will fail if there is no subdirectory in conf/vhosts that contains at least one *.conf file:</p> - <div class="example"><p><code> - Include conf/vhosts/*/*.conf - </code></p></div> + <pre class="prettyprint lang-config">Include conf/vhosts/*/*.conf</pre> + <p>Alternatively, the following command will just be ignored in case of missing files or directories:</p> - <div class="example"><p><code> - IncludeOptional conf/vhosts/*/*.conf - </code></p></div> + <pre class="prettyprint lang-config">IncludeOptional conf/vhosts/*/*.conf</pre> + <h3>See also</h3> @@ -2252,13 +2236,12 @@ methods</td></tr> only to the methods <code>POST</code>, <code>PUT</code>, and <code>DELETE</code>, leaving all other methods unprotected:</p> - <div class="example"><p><code> - <Limit POST PUT DELETE><br /> - <span class="indent"> - Require valid-user<br /> - </span> - </Limit> - </code></p></div> + <pre class="prettyprint lang-config"> +<Limit POST PUT DELETE> + Require valid-user +</Limit> + </pre> + <p>The method names listed can be one or more of: <code>GET</code>, <code>POST</code>, <code>PUT</code>, <code>DELETE</code>, @@ -2294,18 +2277,15 @@ methods</td></tr> <code>Require group editors</code> directive will be ignored in all cases:</p> - <div class="example"><p><code> - <LimitExcept GET> - <span class="indent"> - Require valid-user - </span> - </LimitExcept><br /> - <Limit POST> - <span class="indent"> - Require group editors - </span> - </Limit> - </code></p></div> + <pre class="prettyprint lang-config"> +<LimitExcept GET> + Require valid-user +</LimitExcept> +<Limit POST> + Require group editors +</Limit> + </pre> + </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -2330,13 +2310,12 @@ except the named ones</td></tr> <p>For example:</p> - <div class="example"><p><code> - <LimitExcept POST GET><br /> - <span class="indent"> - Require valid-user<br /> - </span> - </LimitExcept> - </code></p></div> + <pre class="prettyprint lang-config"> +<LimitExcept POST GET> + Require valid-user +</LimitExcept> + </pre> + </div> @@ -2369,9 +2348,8 @@ subrequests</td></tr> determines, how deep subrequests may be nested. If you specify only one <var>number</var>, it will be assigned to both limits.</p> - <div class="example"><h3>Example</h3><p><code> - LimitInternalRecursion 5 - </code></p></div> + <pre class="prettyprint lang-config">LimitInternalRecursion 5</pre> + </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -2413,9 +2391,8 @@ from the client</td></tr> location, and wish to limit the size of the uploaded file to 100K, you might use the following directive:</p> - <div class="example"><p><code> - LimitRequestBody 102400 - </code></p></div> + <pre class="prettyprint lang-config">LimitRequestBody 102400</pre> + <div class="note"><p>For a full description of how this directive is interpreted by proxy requests, see the <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> documentation.</p> @@ -2459,9 +2436,8 @@ will be accepted from the client</td></tr> <p>For example:</p> - <div class="example"><p><code> - LimitRequestFields 50 - </code></p></div> + <pre class="prettyprint lang-config">LimitRequestFields 50</pre> + <div class="warning"><h3>Warning</h3> <p> When name-based virtual hosting is used, the value for this @@ -2501,9 +2477,8 @@ client</td></tr> <p>For example:</p> - <div class="example"><p><code> - LimitRequestFieldSize 4094 - </code></p></div> + <pre class="prettyprint lang-config">LimitRequestFieldSize 4094</pre> + <div class="note">Under normal conditions, the value should not be changed from the default. Also, you can't set this higher than 8190 without @@ -2546,9 +2521,8 @@ from the client</td></tr> <p>For example:</p> - <div class="example"><p><code> - LimitRequestLine 4094 - </code></p></div> + <pre class="prettyprint lang-config">LimitRequestLine 4094</pre> + <div class="note">Under normal conditions, the value should not be changed from the default. Also, you can't set this higher than 8190 without @@ -2578,9 +2552,8 @@ from the client</td></tr> <p>Example:</p> - <div class="example"><p><code> - LimitXMLRequestBody 0 - </code></p></div> + <pre class="prettyprint lang-config">LimitXMLRequestBody 0</pre> + </div> @@ -2628,19 +2601,21 @@ URLs</td></tr> /private1, /private1/ and /private1/file.txt will have the enclosed directives applied, but /private1other would not. </p> - <div class="example"><p><code> - <Location /private1> - ... - </code></p></div> + <pre class="prettyprint lang-config"> +<Location /private1> +# ... + </pre> + <p> In the example below, where a trailing slash is used, requests to /private2/ and /private2/file.txt will have the enclosed directives applied, but /private2 and /private2other would not. </p> - <div class="example"><p><code> - <Location /private2<em>/</em>> - ... - </code></p></div> + <pre class="prettyprint lang-config"> +<Location /private2<em>/</em>> +# ... + </pre> + <div class="note"><h3>When to use <code class="directive"><Location></code></h3> @@ -2666,9 +2641,8 @@ URLs</td></tr> can also be used, with the addition of the <code>~</code> character. For example:</p> - <div class="example"><p><code> - <Location ~ "/(extra|special)/data"> - </code></p></div> + <pre class="prettyprint lang-config"><Location ~ "/(extra|special)/data"></pre> + <p>would match URLs that contained the substring <code>/extra/data</code> or <code>/special/data</code>. The directive <code class="directive"><a href="#locationmatch"><LocationMatch></a></code> behaves @@ -2682,14 +2656,13 @@ URLs</td></tr> directive. For example, to enable status requests, but allow them only from browsers at <code>example.com</code>, you might use:</p> - <div class="example"><p><code> - <Location /status><br /> - <span class="indent"> - SetHandler server-status<br /> - Require host example.com<br /> - </span> - </Location> - </code></p></div> + <pre class="prettyprint lang-config"> +<Location /status> + SetHandler server-status + Require host example.com +</Location> + </pre> + <div class="note"><h3>Note about / (slash)</h3> <p>The slash character has special meaning depending on where in a @@ -2735,9 +2708,8 @@ matching URLs</td></tr> it takes a <a class="glossarylink" href="../glossary.html#regex" title="see glossary">regular expression</a> as an argument instead of a simple string. For example:</p> - <div class="example"><p><code> - <LocationMatch "/(extra|special)/data"> - </code></p></div> + <pre class="prettyprint lang-config"><LocationMatch "/(extra|special)/data"></pre> + <p>would match URLs that contained the substring <code>/extra/data</code> or <code>/special/data</code>.</p> @@ -2913,9 +2885,8 @@ matching URLs</td></tr> <p>For example:</p> - <div class="example"><p><code> - LogLevel notice - </code></p></div> + <pre class="prettyprint lang-config">LogLevel notice</pre> + <div class="note"><h3>Note</h3> <p>When logging to a regular file messages of the level @@ -2932,20 +2903,22 @@ matching URLs</td></tr> as module specification. This means the following three specifications are equivalent:</p> - <div class="example"><p><code> - LogLevel info ssl:warn<br /> - LogLevel info mod_ssl.c:warn<br /> - LogLevel info ssl_module:warn<br /> - </code></p></div> + <pre class="prettyprint lang-config"> +LogLevel info ssl:warn +LogLevel info mod_ssl.c:warn +LogLevel info ssl_module:warn + </pre> + <p>It is also possible to change the level per directory:</p> - <div class="example"><p><code> - LogLevel info<br /> - <Directory /usr/local/apache/htdocs/app><br /> - LogLevel debug<br /> - </Files> - </code></p></div> + <pre class="prettyprint lang-config"> +LogLevel info +<Directory "/usr/local/apache/htdocs/app"> + LogLevel debug +</Directory> + </pre> + <div class="note"> Per directory loglevel configuration only affects messages that are @@ -2975,9 +2948,8 @@ connection</td></tr> <p>For example:</p> - <div class="example"><p><code> - MaxKeepAliveRequests 500 - </code></p></div> + <pre class="prettyprint lang-config">MaxKeepAliveRequests 500</pre> + </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -3297,10 +3269,11 @@ or specified mutexes</td></tr> <code>/var/httpd/locks</code>. The mutex mechanism for all other mutexes will be changed from the compiled-in default to <code>sysvsem</code>.</p> - <div class="example"><p><code> - Mutex sysvsem default<br /> - Mutex fcntl:/var/httpd/locks mpm-accept - </code></p></div> + <pre class="prettyprint lang-config"> +Mutex sysvsem default +Mutex fcntl:/var/httpd/locks mpm-accept + </pre> + </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> @@ -3445,38 +3418,32 @@ directory</td></tr> <p>For example, without any <code>+</code> and <code>-</code> symbols:</p> - <div class="example"><p><code> - <Directory /web/docs><br /> - <span class="indent"> - Options Indexes FollowSymLinks<br /> - </span> - </Directory><br /> - <br /> - <Directory /web/docs/spec><br /> - <span class="indent"> - Options Includes<br /> - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory "/web/docs"> + Options Indexes FollowSymLinks +</Directory> + +<Directory "/web/docs/spec"> + Options Includes +</Directory> + </pre> + <p>then only <code>Includes</code> will be set for the <code>/web/docs/spec</code> directory. However if the second <code class="directive">Options</code> directive uses the <code>+</code> and <code>-</code> symbols:</p> - <div class="example"><p><code> - <Directory /web/docs><br /> - <span class="indent"> - Options Indexes FollowSymLinks<br /> - </span> - </Directory><br /> - <br /> - <Directory /web/docs/spec><br /> - <span class="indent"> - Options +Includes -Indexes<br /> - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory "/web/docs"> + Options Indexes FollowSymLinks +</Directory> + +<Directory "/web/docs/spec"> + Options +Includes -Indexes +</Directory> + </pre> + <p>then the options <code>FollowSymLinks</code> and <code>Includes</code> are set for the <code>/web/docs/spec</code> @@ -3512,9 +3479,8 @@ On Windows from Apache 2.3.3 and later.</td></tr> <p>For example, if you are running <code>https</code> on a non-standard port, specify the protocol explicitly:</p> - <div class="example"><p><code> - Protocol https - </code></p></div> + <pre class="prettyprint lang-config">Protocol https</pre> + <p>You can also specify the protocol using the <code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code> directive.</p> @@ -3661,15 +3627,13 @@ later</td></tr> by the shebang line (first line, starting with <code>#!</code>) in the script. On Win32 systems this line usually looks like:</p> - <div class="example"><p><code> - #!C:/Perl/bin/perl.exe - </code></p></div> + <pre class="prettyprint lang-perl">#!C:/Perl/bin/perl.exe</pre> + <p>or, if <code>perl</code> is in the <code>PATH</code>, simply:</p> - <div class="example"><p><code> - #!perl - </code></p></div> + <pre class="prettyprint lang-perl">#!perl</pre> + <p>Setting <code>ScriptInterpreterSource Registry</code> will cause the Windows Registry tree <code>HKEY_CLASSES_ROOT</code> to be @@ -3763,9 +3727,8 @@ messages sent to the client</td></tr> <p>It may be worth setting up a dedicated address for this, e.g.</p> - <div class="example"><p><code> - ServerAdmin www-admin@foo.example.com - </code></p></div> + <pre class="prettyprint lang-config">ServerAdmin www-admin@foo.example.com</pre> + <p>as users do not always mention that they are talking about the server!</p> @@ -3784,15 +3747,16 @@ to name-virtual hosts</td></tr> alternate names for a host, for use with <a href="../vhosts/name-based.html">name-based virtual hosts</a>. The <code class="directive">ServerAlias</code> may include wildcards, if appropriate.</p> - <div class="example"><p><code> - <VirtualHost *:80><br /> - ServerName server.example.com<br /> - ServerAlias server server2.example.com server2<br /> - ServerAlias *.example.com<br /> - UseCanonicalName Off<br /> - # ...<br /> - </VirtualHost> - </code></p></div> + <pre class="prettyprint lang-config"> +<VirtualHost *:80> +ServerName server.example.com +ServerAlias server server2.example.com server2 +ServerAlias *.example.com +UseCanonicalName Off +# ... +</VirtualHost> + </pre> + <p>Name-based virtual hosts for the best-matching set of <code class="directive"><a href="#virtualhost"><virtualhost></a></code>s are processsed in the order they appear in the configuration. The first matching <code class="directive"><a href="#servername">ServerName</a></code> or <code class="directive"><a href="#serveralias">ServerAlias</a></code> is used, with no different precedence for wildcards @@ -3829,9 +3793,8 @@ itself</td></tr> and you wish the web server to be so identified, the following directive should be used:</p> - <div class="example"><p><code> - ServerName www.example.com - </code></p></div> + <pre class="prettyprint lang-config">ServerName www.example.com</pre> + <p>The <code class="directive">ServerName</code> directive may appear anywhere within the definition of a server. However, @@ -3926,9 +3889,8 @@ is accessed by an incompatible browser</td></tr> paths in other configuration directives (such as <code class="directive"><a href="#include">Include</a></code> or <code class="directive"><a href="../mod/mod_so.html#loadmodule">LoadModule</a></code>, for example) are taken as relative to this directory.</p> - <div class="example"><h3>Example</h3><p><code> - ServerRoot /home/httpd - </code></p></div> + <pre class="prettyprint lang-config">ServerRoot "/home/httpd"</pre> + <p>The default location of <code class="directive">ServerRoot</code> may be modified by using the <code>--prefix</code> argument to @@ -4072,22 +4034,20 @@ handler</td></tr> of extension, you might put the following into an <code>.htaccess</code> file in that directory:</p> - <div class="example"><p><code> - SetHandler imap-file - </code></p></div> + <pre class="prettyprint lang-config">SetHandler imap-file</pre> + <p>Another example: if you wanted to have the server display a status report whenever a URL of <code>http://servername/status</code> was called, you might put the following into <code>httpd.conf</code>:</p> - <div class="example"><p><code> - <Location /status><br /> - <span class="indent"> - SetHandler server-status<br /> - </span> - </Location> - </code></p></div> + <pre class="prettyprint lang-config"> +<Location "/status"> + SetHandler server-status +</Location> + </pre> + <p>You can override an earlier defined <code class="directive">SetHandler</code> directive by using the value <code>None</code>.</p> @@ -4151,13 +4111,12 @@ server</td></tr> in the <code>/www/data/</code> directory for server-side includes.</p> - <div class="example"><p><code> - <Directory /www/data/><br /> - <span class="indent"> - SetOutputFilter INCLUDES<br /> - </span> - </Directory> - </code></p></div> + <pre class="prettyprint lang-config"> +<Directory "/www/data/"> + SetOutputFilter INCLUDES +</Directory> + </pre> + <p>If more than one filter is specified, they must be separated by semicolons in the order in which they should process the @@ -4408,34 +4367,32 @@ hostname or IP address</td></tr> </ul> - <div class="example"><h3>Example</h3><p><code> - <VirtualHost 10.1.2.3:80><br /> - <span class="indent"> - ServerAdmin webmaster@host.example.com<br /> - DocumentRoot /www/docs/host.example.com<br /> - ServerName host.example.com<br /> - ErrorLog logs/host.example.com-error_log<br /> - TransferLog logs/host.example.com-access_log<br /> - </span> - </VirtualHost> - </code></p></div> + <pre class="prettyprint lang-config"> +<VirtualHost 10.1.2.3:80> + ServerAdmin webmaster@host.example.com + DocumentRoot /www/docs/host.example.com + ServerName host.example.com + ErrorLog logs/host.example.com-error_log + TransferLog logs/host.example.com-access_log +</VirtualHost> + </pre> + <p>IPv6 addresses must be specified in square brackets because the optional port number could not be determined otherwise. An IPv6 example is shown below:</p> - <div class="example"><p><code> - <VirtualHost [2001:db8::a00:20ff:fea7:ccea]:80><br /> - <span class="indent"> - ServerAdmin webmaster@host.example.com<br /> - DocumentRoot /www/docs/host.example.com<br /> - ServerName host.example.com<br /> - ErrorLog logs/host.example.com-error_log<br /> - TransferLog logs/host.example.com-access_log<br /> - </span> - </VirtualHost> - </code></p></div> + <pre class="prettyprint lang-config"> +<VirtualHost [2001:db8::a00:20ff:fea7:ccea]:80> + ServerAdmin webmaster@host.example.com + DocumentRoot /www/docs/host.example.com + ServerName host.example.com + ErrorLog logs/host.example.com-error_log + TransferLog logs/host.example.com-access_log +</VirtualHost> + </pre> + <p>Each Virtual Host must correspond to a different IP address, different port number or a different host name for the server, diff --git a/docs/manual/mod/core.html.fr b/docs/manual/mod/core.html.fr index 1106abe3bd..ef63f774aa 100644 --- a/docs/manual/mod/core.html.fr +++ b/docs/manual/mod/core.html.fr @@ -31,6 +31,8 @@ <a href="../ja/mod/core.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="../tr/mod/core.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> <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Fonctionnalités de base du serveur HTTP Apache toujours disponibles</td></tr> <tr><th><a href="module-dict.html#Status">Statut:</a></th><td>Core</td></tr></table> diff --git a/docs/manual/mod/core.html.tr.utf8 b/docs/manual/mod/core.html.tr.utf8 index 5029948499..e2ad6bfccb 100644 --- a/docs/manual/mod/core.html.tr.utf8 +++ b/docs/manual/mod/core.html.tr.utf8 @@ -31,6 +31,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> diff --git a/docs/manual/mod/core.xml.de b/docs/manual/mod/core.xml.de index 4675c6a957..27d86de671 100644 --- a/docs/manual/mod/core.xml.de +++ b/docs/manual/mod/core.xml.de @@ -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: 344972:1302855 (outdated) --> +<!-- English Revision: 344972:1330664 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/core.xml.es b/docs/manual/mod/core.xml.es index 3cab74c82d..e03f411295 100644 --- a/docs/manual/mod/core.xml.es +++ b/docs/manual/mod/core.xml.es @@ -1,7 +1,7 @@ <?xml version="1.0"?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?> -<!-- English Revision: 1040494:1302855 (outdated) --> +<!-- English Revision: 1040494:1330664 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/core.xml.fr b/docs/manual/mod/core.xml.fr index f7e4204a64..634bed39ff 100644 --- a/docs/manual/mod/core.xml.fr +++ b/docs/manual/mod/core.xml.fr @@ -1,7 +1,7 @@ <?xml version="1.0"?> <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd"> <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?> -<!-- English Revision : 1302855 --> +<!-- English Revision: 1302855:1330664 (outdated) --> <!-- French translation : Lucien GENTIS --> <!-- Reviewed by : Vincent Deffontaines --> diff --git a/docs/manual/mod/core.xml.ja b/docs/manual/mod/core.xml.ja index ac984067ff..a328999e3d 100644 --- a/docs/manual/mod/core.xml.ja +++ b/docs/manual/mod/core.xml.ja @@ -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: 669847:1302855 (outdated) --> +<!-- English Revision: 669847:1330664 (outdated) --> <!-- Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/docs/manual/mod/core.xml.meta b/docs/manual/mod/core.xml.meta index 189b445c69..b9d96ee4c5 100644 --- a/docs/manual/mod/core.xml.meta +++ b/docs/manual/mod/core.xml.meta @@ -10,8 +10,8 @@ <variant outdated="yes">de</variant> <variant>en</variant> <variant outdated="yes">es</variant> - <variant>fr</variant> + <variant outdated="yes">fr</variant> <variant outdated="yes">ja</variant> - <variant>tr</variant> + <variant outdated="yes">tr</variant> </variants> </metafile> diff --git a/docs/manual/mod/core.xml.tr b/docs/manual/mod/core.xml.tr index d0de431d60..dfcc33a0b1 100644 --- a/docs/manual/mod/core.xml.tr +++ b/docs/manual/mod/core.xml.tr @@ -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: 1302855 --> +<!-- English Revision: 1302855:1330664 (outdated) --> <!-- ===================================================== Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org> diff --git a/docs/manual/mod/mod_lua.html.fr b/docs/manual/mod/mod_lua.html.fr index 007164f4c0..a82f035589 100644 --- a/docs/manual/mod/mod_lua.html.fr +++ b/docs/manual/mod/mod_lua.html.fr @@ -27,6 +27,8 @@ <p><span>Langues Disponibles: </span><a href="../en/mod/mod_lua.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/mod/mod_lua.html" title="Français"> fr </a></p> </div> +<div class="outofdate">Cette traduction peut être périmée. Vérifiez la version + anglaise pour les changements récents.</div> <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Fournit des points d'entrée Lua dans différentes parties du traitement des requêtes httpd</td></tr> <tr><th><a href="module-dict.html#Status">Statut:</a></th><td>Expérimental</td></tr> @@ -124,7 +126,9 @@ gestionnaire.</p> gestionnaire, plutôt que de simplement évaluer le corps d'un script dans le style de CGI. Une fonction de gestionnaire se présente comme suit :</p> -<div class="example"><h3>example.lua</h3><pre> + +<pre class="prettyprint lang-lua"> +<strong>example.lua</strong> -- exemple de gestionnaire require "string" @@ -150,7 +154,8 @@ function handle(r) r:puts("unknown HTTP method " .. r.method) end end -</pre></div> +</pre> + <p> Ce gestionnaire se contente d'afficher les arguments codés d'un uri ou @@ -182,7 +187,8 @@ code d'état HTTP ou des valeurs OK, DONE, ou DECLINED, que vous pouvez écrire dans lua sous la forme <code>apache2.OK</code>, <code>apache2.DONE</code>, ou <code>apache2.DECLINED</code>.</p> -<div class="example"><h3>translate_name.lua</h3><pre> +<pre class="prettyprint lang-lua"> +<strong>translate_name.lua</strong> -- exemple d'accroche qui réécrit un URI en chemin du système de fichiers. @@ -196,9 +202,11 @@ function translate_name(r) -- on ne gère pas cette URL et on donne sa chance à un autre module return apache2.DECLINED end -</pre></div> +</pre> + -<div class="example"><h3>translate_name2.lua</h3><pre> +<pre class="prettyprint lang-lua"> +<strong>translate_name2.lua</strong> --[[ exemple d'accroche qui réécrit un URI vers un autre URI. Il renvoie un apache2.DECLINED pour permettre à un autre interpréteur d'URL de travailler sur la substitution, y compris l'accroche translate_name @@ -217,7 +225,8 @@ function translate_name(r) end return apache2.DECLINED end -</pre></div> +</pre> + </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="datastructures" id="datastructures">Structures de données</a></h2> @@ -403,7 +412,7 @@ end <div class="section"> <h2><a name="logging" id="logging">Fonctions de journalisation</a></h2> -<div class="example"><p><code> +<pre class="prettyprint lang-lua"> -- exemples de messages de journalisation r:trace1("Ceci est un message de journalisation de niveau trace") -- les niveaux valides vont de trace1 à trace8 <br /> @@ -415,7 +424,8 @@ end r:alert("Ceci est un message de journalisation de niveau alert")<br /> r:crit("Ceci est un message de journalisation de niveau crit")<br /> r:emerg("Ceci est un message de journalisation de niveau emerg")<br /> -</code></p></div> +</pre> + </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> @@ -511,7 +521,7 @@ traitement de la requête. Cette directive peut s'utiliser pour implémenter une vérification arbitraire de l'authentification et de l'autorisation. Voici un exemple très simple : </p> -<div class="example"><pre> +<pre class="prettyprint lang-lua"> require 'apache2' -- fonction d'accroche authcheck fictive @@ -544,7 +554,8 @@ function authcheck_hook(r) end return apache2.OK end -</pre></div> +</pre> + <div class="note"><h3>Ordonnancement</h3><p>Les arguments optionnels "early" ou "late" permettent de contrôler le moment auquel ce script s'exécute par rapport aux autres modules.</p></div> @@ -641,7 +652,9 @@ version 2.3.15 du serveur HTTP Apache.</td></tr> <div class="example"><pre> # httpd.conf LuaHookTranslateName /scripts/conf/hooks.lua silly_mapper - +</pre></div> + +<pre class="prettyprint lang-lua"> -- /scripts/conf/hooks.lua -- require "apache2" function silly_mapper(r) @@ -652,7 +665,8 @@ function silly_mapper(r) return apache2.DECLINED end end -</pre></div> +</pre> + <div class="note"><h3>Contexte</h3><p>Cette directive ne peut être utilisée ni à l'intérieur d'une section <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code> ou <code class="directive"><a href="../mod/core.html#files"><Files></a></code>, ni dans un fichier htaccess.</p></div> diff --git a/docs/manual/programs/log_server_status.html.en b/docs/manual/programs/log_server_status.html.en index 5b2002c716..5d4e403c4b 100644 --- a/docs/manual/programs/log_server_status.html.en +++ b/docs/manual/programs/log_server_status.html.en @@ -1,71 +1,71 @@ -<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- This file is generated from xml source: DO NOT EDIT
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- -->
-<title>log_server_status - Log periodic status summaries - Apache HTTP Server</title>
-<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
-<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
-<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" />
-<script src="../style/scripts/prettify.js" type="text/javascript">
-</script>
-
-<link href="../images/favicon.ico" rel="shortcut icon" /></head>
-<body id="manual-page" class="no-sidebar"><div id="page-header">
-<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
-<p class="apache">Apache HTTP Server Version 2.5</p>
-<img alt="" src="../images/feather.gif" /></div>
-<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
-<div id="path">
-<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.5</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>log_server_status - Log periodic status summaries</h1>
-<div class="toplang">
-<p><span>Available Languages: </span><a href="../en/programs/other.html" title="English"> en </a> |
-<a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
-<a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
-</div>
-
- <p>This perl script is designed to be run at a frequent interval by
- something like cron. It connects to the server and downloads the status
- information. It reformats the information to a single line and logs it to
- a file. Adjust the variables at the top of the script to specify the
- location of the resulting logfile. <code class="module"><a href="../mod/mod_status.html">mod_status</a></code> will
- need to be loaded and configured in order for this script to do its
- job.</p>
-</div>
-<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
-<div class="section">
-<h2><a name="configure" id="configure">Usage</a></h2>
-
-<p>The script contains the following section.</p>
-
-<pre class="prettyprint lang-perl">
-my $wherelog = "/usr/local/apache2/logs/"; # Logs will be like "/usr/local/apache2/logs/19960312"
-my $server = "localhost"; # Name of server, could be "www.foo.com"
-my $port = "80"; # Port on server
-my $request = "/server-status/?auto"; # Request to send
-</pre>
-
-
-<p>You'll need to ensure that these variables have the correct values,
-and you'll need to have the <code>/server-status</code> handler
-configured at the location specified, and the specified log location
-needs to be writable by the user which will run the script.</p>
-
-<p>Run the script periodically via cron to produce a daily log file,
-which can then be used for statistical analysis.</p>
-
-</div></div>
-<div class="bottomlang">
-<p><span>Available Languages: </span><a href="../en/programs/other.html" title="English"> en </a> |
-<a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
-<a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
-</div><div id="footer">
-<p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
-<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript">
- if (typeof(prettyPrint) !== undefined) {
- prettyPrint();
- }
-</script>
+<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>log_server_status - Log periodic status summaries - Apache HTTP Server</title> +<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> +<script src="../style/scripts/prettify.js" type="text/javascript"> +</script> + +<link href="../images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page" class="no-sidebar"><div id="page-header"> +<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p> +<p class="apache">Apache HTTP Server Version 2.5</p> +<img alt="" src="../images/feather.gif" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.5</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>log_server_status - Log periodic status summaries</h1> +<div class="toplang"> +<p><span>Available Languages: </span><a href="../en/programs/other.html" title="English"> en </a> | +<a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> + + <p>This perl script is designed to be run at a frequent interval by + something like cron. It connects to the server and downloads the status + information. It reformats the information to a single line and logs it to + a file. Adjust the variables at the top of the script to specify the + location of the resulting logfile. <code class="module"><a href="../mod/mod_status.html">mod_status</a></code> will + need to be loaded and configured in order for this script to do its + job.</p> +</div> +<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> +<div class="section"> +<h2><a name="configure" id="configure">Usage</a></h2> + +<p>The script contains the following section.</p> + +<pre class="prettyprint lang-perl"> +my $wherelog = "/usr/local/apache2/logs/"; # Logs will be like "/usr/local/apache2/logs/19960312" +my $server = "localhost"; # Name of server, could be "www.foo.com" +my $port = "80"; # Port on server +my $request = "/server-status/?auto"; # Request to send +</pre> + + +<p>You'll need to ensure that these variables have the correct values, +and you'll need to have the <code>/server-status</code> handler +configured at the location specified, and the specified log location +needs to be writable by the user which will run the script.</p> + +<p>Run the script periodically via cron to produce a daily log file, +which can then be used for statistical analysis.</p> + +</div></div> +<div class="bottomlang"> +<p><span>Available Languages: </span><a href="../en/programs/other.html" title="English"> en </a> | +<a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div><div id="footer"> +<p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"> + if (typeof(prettyPrint) !== undefined) { + prettyPrint(); + } +</script> </body></html>
\ No newline at end of file diff --git a/docs/manual/programs/split-logfile.html.en b/docs/manual/programs/split-logfile.html.en index 2688b88403..73a52dbf58 100644 --- a/docs/manual/programs/split-logfile.html.en +++ b/docs/manual/programs/split-logfile.html.en @@ -1,70 +1,70 @@ -<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- This file is generated from xml source: DO NOT EDIT
- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- -->
-<title>split-logfile - Split up multi-vhost logfiles - Apache HTTP Server</title>
-<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
-<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
-<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" />
-<script src="../style/scripts/prettify.js" type="text/javascript">
-</script>
-
-<link href="../images/favicon.ico" rel="shortcut icon" /></head>
-<body id="manual-page" class="no-sidebar"><div id="page-header">
-<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
-<p class="apache">Apache HTTP Server Version 2.5</p>
-<img alt="" src="../images/feather.gif" /></div>
-<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
-<div id="path">
-<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.5</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>split-logfile - Split up multi-vhost logfiles</h1>
-<div class="toplang">
-<p><span>Available Languages: </span><a href="../en/programs/other.html" title="English"> en </a> |
-<a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
-<a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
-</div>
-
- <p>This perl script will take a combined Web server access log file and
- break its contents into separate files. It assumes that the first field of
- each line is the virtual host identity, put there using the "<code>%v</code>"
- variable in <code class="directive"><a href="../mod/mod_log_config.html#logformat">LogFormat</a></code>.
- </p>
-</div>
-<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
-<div class="section">
-<h2><a name="split-logfile" id="split-logfile">Usage</a></h2>
-
- <p>Create a log file with virtual host information in it:</p>
-
- <div class="example"><p><code>
- LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""
- combined_plus_vhost<br />
- CustomLog logs/access_log combined_plus_vhost
- </code></p></div>
-
- <p>Log files will be created, in the directory where you run the
- script, for each virtual host name that appears in the combined log file.
- These logfiles will named after the hostname, with a
- <code>.log</code> file extension.</p>
-
- <p>The combined log file is read from stdin. Records read will be appended
- to any existing log files.</p>
-
- <div class="example"><p><code>split-logfile < access_log</code></p></div>
-
-
-</div></div>
-<div class="bottomlang">
-<p><span>Available Languages: </span><a href="../en/programs/other.html" title="English"> en </a> |
-<a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> |
-<a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p>
-</div><div id="footer">
-<p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
-<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript">
- if (typeof(prettyPrint) !== undefined) {
- prettyPrint();
- }
-</script>
+<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + This file is generated from xml source: DO NOT EDIT + XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX + --> +<title>split-logfile - Split up multi-vhost logfiles - Apache HTTP Server</title> +<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> +<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> +<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> +<script src="../style/scripts/prettify.js" type="text/javascript"> +</script> + +<link href="../images/favicon.ico" rel="shortcut icon" /></head> +<body id="manual-page" class="no-sidebar"><div id="page-header"> +<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p> +<p class="apache">Apache HTTP Server Version 2.5</p> +<img alt="" src="../images/feather.gif" /></div> +<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> +<div id="path"> +<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.5</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>split-logfile - Split up multi-vhost logfiles</h1> +<div class="toplang"> +<p><span>Available Languages: </span><a href="../en/programs/other.html" title="English"> en </a> | +<a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div> + + <p>This perl script will take a combined Web server access log file and + break its contents into separate files. It assumes that the first field of + each line is the virtual host identity, put there using the "<code>%v</code>" + variable in <code class="directive"><a href="../mod/mod_log_config.html#logformat">LogFormat</a></code>. + </p> +</div> +<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> +<div class="section"> +<h2><a name="split-logfile" id="split-logfile">Usage</a></h2> + + <p>Create a log file with virtual host information in it:</p> + + <div class="example"><p><code> + LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" + combined_plus_vhost<br /> + CustomLog logs/access_log combined_plus_vhost + </code></p></div> + + <p>Log files will be created, in the directory where you run the + script, for each virtual host name that appears in the combined log file. + These logfiles will named after the hostname, with a + <code>.log</code> file extension.</p> + + <p>The combined log file is read from stdin. Records read will be appended + to any existing log files.</p> + + <div class="example"><p><code>split-logfile < access_log</code></p></div> + + +</div></div> +<div class="bottomlang"> +<p><span>Available Languages: </span><a href="../en/programs/other.html" title="English"> en </a> | +<a href="../ko/programs/other.html" hreflang="ko" rel="alternate" title="Korean"> ko </a> | +<a href="../tr/programs/other.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> +</div><div id="footer"> +<p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"> + if (typeof(prettyPrint) !== undefined) { + prettyPrint(); + } +</script> </body></html>
\ No newline at end of file diff --git a/docs/manual/rewrite/flags.html.fr b/docs/manual/rewrite/flags.html.fr index f162036af5..db70293805 100644 --- a/docs/manual/rewrite/flags.html.fr +++ b/docs/manual/rewrite/flags.html.fr @@ -24,6 +24,8 @@ <p><span>Langues Disponibles: </span><a href="../en/rewrite/flags.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/rewrite/flags.html" title="Français"> fr </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 drapeaux disponibles dans la directive <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code>, en fournissant diff --git a/docs/manual/rewrite/intro.html.fr b/docs/manual/rewrite/intro.html.fr index cbce664bf3..17acac5330 100644 --- a/docs/manual/rewrite/intro.html.fr +++ b/docs/manual/rewrite/intro.html.fr @@ -24,6 +24,8 @@ <p><span>Langues Disponibles: </span><a href="../en/rewrite/intro.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/rewrite/intro.html" title="Français"> fr </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 est un complément à la <a href="../mod/mod_rewrite.html">documentation de référence</a> du module <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>. Il décrit les concepts de base dont la |