From d1d018768afd79cb2ecd1805f0d8f3ed23f4076b Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Sun, 29 Jan 2012 13:30:57 +0100 Subject: Upstream tarball 2.2.22 --- docs/manual/rewrite/access.html.en | 2 +- docs/manual/rewrite/advanced.html.en | 2 +- docs/manual/rewrite/avoid.html.en | 2 +- docs/manual/rewrite/flags.html.en | 13 +++++++++++-- docs/manual/rewrite/flags.html.fr | 14 ++++++++++++-- docs/manual/rewrite/htaccess.html.en | 2 +- docs/manual/rewrite/index.html.en | 2 +- docs/manual/rewrite/index.html.fr | 2 +- docs/manual/rewrite/index.html.tr.utf8 | 2 +- docs/manual/rewrite/index.html.zh-cn | 3 ++- docs/manual/rewrite/intro.html.en | 4 ++-- docs/manual/rewrite/intro.html.fr | 4 ++-- docs/manual/rewrite/proxy.html.en | 2 +- docs/manual/rewrite/remapping.html.en | 2 +- docs/manual/rewrite/rewritemap.html.en | 2 +- docs/manual/rewrite/tech.html.en | 2 +- docs/manual/rewrite/tech.html.fr | 2 +- docs/manual/rewrite/vhosts.html.en | 2 +- 18 files changed, 42 insertions(+), 22 deletions(-) (limited to 'docs/manual/rewrite') diff --git a/docs/manual/rewrite/access.html.en b/docs/manual/rewrite/access.html.en index f13d733b..9e285b44 100644 --- a/docs/manual/rewrite/access.html.en +++ b/docs/manual/rewrite/access.html.en @@ -298,6 +298,6 @@ http://badguys.example.com/bad/index3.html http://somewhere.example.com/

Available Languages:  en 

\ No newline at end of file diff --git a/docs/manual/rewrite/advanced.html.en b/docs/manual/rewrite/advanced.html.en index c0602748..408bcf1c 100644 --- a/docs/manual/rewrite/advanced.html.en +++ b/docs/manual/rewrite/advanced.html.en @@ -487,6 +487,6 @@ RewriteCond %{ENV:rewritten} =1

Available Languages:  en 

\ No newline at end of file diff --git a/docs/manual/rewrite/avoid.html.en b/docs/manual/rewrite/avoid.html.en index 9a9b2259..8dd3d711 100644 --- a/docs/manual/rewrite/avoid.html.en +++ b/docs/manual/rewrite/avoid.html.en @@ -193,6 +193,6 @@ accomplish.

Available Languages:  en 

\ No newline at end of file diff --git a/docs/manual/rewrite/flags.html.en b/docs/manual/rewrite/flags.html.en index 0e16b2d1..ec786dd8 100644 --- a/docs/manual/rewrite/flags.html.en +++ b/docs/manual/rewrite/flags.html.en @@ -459,7 +459,7 @@ example, if you wanted all image requests to be handled by a back-end image server, you might do something like the following:

-RewriteRule (.*)\.(jpg|gif|png) http://images.example.com$1.$2 [P] +RewriteRule /(.*)\.(jpg|gif|png) http://images.example.com/$1.$2 [P]

Use of the [P] flag implies [L] - that is, the request is immediately @@ -474,6 +474,15 @@ error from the proxy module. Use this flag to achieve a more powerful implementation of the ProxyPass directive, to map remote content into the namespace of the local server.

+
+

Security Warning

+

Take care when constructing the target URL of the rule, considering +the security impact from allowing the client influence over the set of +URLs to which your server will act as a proxy. Ensure that the scheme +and hostname part of the URL is either fixed, or does not allow the +client undue influence.

+
+

Note: mod_proxy must be enabled in order to use this flag.

@@ -643,6 +652,6 @@ The L flag can be useful in this context to end the

Available Languages:  en  |  fr 

\ No newline at end of file diff --git a/docs/manual/rewrite/flags.html.fr b/docs/manual/rewrite/flags.html.fr index a7614e0a..048375e2 100644 --- a/docs/manual/rewrite/flags.html.fr +++ b/docs/manual/rewrite/flags.html.fr @@ -493,7 +493,7 @@ soient trait une règle de ce style :

-RewriteRule (.*)\.(jpg|gif|png) http://images.example.com$1.$2 [P] +RewriteRule /(.*)\.(jpg|gif|png) http://images.example.com/$1.$2 [P]

L'utilisation du drapeau [P] provoque aussi l'effet du drapeau [L] - @@ -510,6 +510,16 @@ directive Prox faire correspondre le contenu distant à l'espace de nommage du serveur local.

+
+

Avertissement à propos de la sécurité

+

Lors de la construction de l'URL cible de la règle, il convient + de prendre en compte l'impact en matière de sécurité qu'aura le + fait de permettre au client d'influencer le jeu d'URLs pour + lesquelles votre serveur agira en tant que mandataire. + Assurez-vous que la partie protocole://nom-serveur de l'URL soit + fixe, ou ne permette pas au client de l'influencer induement.

+
+

Note: mod_proxy doit être activé pour pouvoir utiliser ce drapeau.

@@ -711,6 +721,6 @@ utiliser le drapeau L pour terminer la s

Langues Disponibles:  en  |  fr 

\ No newline at end of file diff --git a/docs/manual/rewrite/htaccess.html.en b/docs/manual/rewrite/htaccess.html.en index d38a63e1..d2b331ff 100644 --- a/docs/manual/rewrite/htaccess.html.en +++ b/docs/manual/rewrite/htaccess.html.en @@ -33,6 +33,6 @@ and how to deal with these changes.

Available Languages:  en 

\ No newline at end of file diff --git a/docs/manual/rewrite/index.html.en b/docs/manual/rewrite/index.html.en index b597b4bd..73c948ea 100644 --- a/docs/manual/rewrite/index.html.en +++ b/docs/manual/rewrite/index.html.en @@ -82,6 +82,6 @@ wiki
  • Glossary
  •  tr  |  zh-cn 

    \ No newline at end of file diff --git a/docs/manual/rewrite/index.html.fr b/docs/manual/rewrite/index.html.fr index b36805b2..103e5c74 100644 --- a/docs/manual/rewrite/index.html.fr +++ b/docs/manual/rewrite/index.html.fr @@ -96,6 +96,6 @@ avec le syst  tr  |  zh-cn 

    \ No newline at end of file diff --git a/docs/manual/rewrite/index.html.tr.utf8 b/docs/manual/rewrite/index.html.tr.utf8 index 8ec3bf2c..9c070326 100644 --- a/docs/manual/rewrite/index.html.tr.utf8 +++ b/docs/manual/rewrite/index.html.tr.utf8 @@ -84,6 +84,6 @@  tr  |  zh-cn 

    \ No newline at end of file diff --git a/docs/manual/rewrite/index.html.zh-cn b/docs/manual/rewrite/index.html.zh-cn index 3a82fdcc..62fef13f 100644 --- a/docs/manual/rewrite/index.html.zh-cn +++ b/docs/manual/rewrite/index.html.zh-cn @@ -23,6 +23,7 @@  tr  |  zh-cn 

    +
    此翻译å¯èƒ½è¿‡æœŸã€‚è¦äº†è§£æœ€è¿‘的更改,请阅读英文版。

    mod_rewrite æä¾›äº†åŸºäºŽæ­£åˆ™è¡¨è¾¾å¼è§„则动æ€ä¿®æ”¹ä¼ å…¥çš„请求的 URL 的方法。 è¿™å…è®¸ä½ ä»¥è‡ªå·±å–œæ¬¢çš„ä»»æ„æ–¹æ³•æ˜ å°„ä»»æ„ URL 到你的内部 URL 结构。

    @@ -65,6 +66,6 @@ wiki
  • 术语
  •  tr  |  zh-cn 

    \ No newline at end of file diff --git a/docs/manual/rewrite/intro.html.en b/docs/manual/rewrite/intro.html.en index f8dc015f..27c6b2fa 100644 --- a/docs/manual/rewrite/intro.html.en +++ b/docs/manual/rewrite/intro.html.en @@ -73,7 +73,7 @@ Regular Expression vocabulary. In this document, we do not attempt to provide a detailed reference to regular expressions. For that, we recommend the PCRE man pages, the Perl regular -expression man page, and Mastering +expression man page, and Mastering Regular Expressions, by Jeffrey Friedl.

    In this document, we attempt to provide enough of a regex vocabulary @@ -322,6 +322,6 @@ the Rewrit

    Available Languages:  en  |  fr 

    \ No newline at end of file diff --git a/docs/manual/rewrite/intro.html.fr b/docs/manual/rewrite/intro.html.fr index 5b770d43..6cd125f9 100644 --- a/docs/manual/rewrite/intro.html.fr +++ b/docs/manual/rewrite/intro.html.fr @@ -76,7 +76,7 @@ exactement comment chaque r

    mod_rewrite utilise le vocabulaire des Expressions rationnelles compatibles Perl. Ce document n'a pas pour prétention d'être une référence détaillée des expressions rationnelles. A cet effet, nous recommandons les pages de manuel de PCRE, la page de manuel des -expressions rationnelles Perl, et l'ouvrage Mastering +expressions rationnelles Perl, et l'ouvrage Mastering Regular Expressions, by Jeffrey Friedl.

    Dans ce document, nous avons pour but de vous fournir suffisamment de @@ -346,6 +346,6 @@ requ

    Langues Disponibles:  en  |  fr 

    \ No newline at end of file diff --git a/docs/manual/rewrite/proxy.html.en b/docs/manual/rewrite/proxy.html.en index 5d26423d..fb77ea02 100644 --- a/docs/manual/rewrite/proxy.html.en +++ b/docs/manual/rewrite/proxy.html.en @@ -88,6 +88,6 @@ ProxyPassReverse / http://old.example.com/

    Available Languages:  en 

    \ No newline at end of file diff --git a/docs/manual/rewrite/remapping.html.en b/docs/manual/rewrite/remapping.html.en index f71b214b..250ff978 100644 --- a/docs/manual/rewrite/remapping.html.en +++ b/docs/manual/rewrite/remapping.html.en @@ -620,6 +620,6 @@ file, as well as in a <Directory> block.

    Available Languages:  en 

    \ No newline at end of file diff --git a/docs/manual/rewrite/rewritemap.html.en b/docs/manual/rewrite/rewritemap.html.en index 79fc3f21..78a971f0 100644 --- a/docs/manual/rewrite/rewritemap.html.en +++ b/docs/manual/rewrite/rewritemap.html.en @@ -412,6 +412,6 @@ this process, or if the script itself is very slow.

    Available Languages:  en 

    \ No newline at end of file diff --git a/docs/manual/rewrite/tech.html.en b/docs/manual/rewrite/tech.html.en index b0ccc7e8..d254b973 100644 --- a/docs/manual/rewrite/tech.html.en +++ b/docs/manual/rewrite/tech.html.en @@ -160,6 +160,6 @@ and URL matching.

    Available Languages:  en  |  fr 

    \ No newline at end of file diff --git a/docs/manual/rewrite/tech.html.fr b/docs/manual/rewrite/tech.html.fr index 496e4f36..b6d755f4 100644 --- a/docs/manual/rewrite/tech.html.fr +++ b/docs/manual/rewrite/tech.html.fr @@ -173,6 +173,6 @@ correspondance
  • Contr

    Langues Disponibles:  en  |  fr 

    \ No newline at end of file diff --git a/docs/manual/rewrite/vhosts.html.en b/docs/manual/rewrite/vhosts.html.en index b48f5820..de8938f5 100644 --- a/docs/manual/rewrite/vhosts.html.en +++ b/docs/manual/rewrite/vhosts.html.en @@ -200,6 +200,6 @@ RewriteRule ^/(.*)$ %1/cgi-bin/$1 [H=cgi-script]

    Available Languages:  en 

    \ No newline at end of file -- cgit v1.2.3