diff options
Diffstat (limited to 'docs/manual/rewrite/proxy.html.fr')
-rw-r--r-- | docs/manual/rewrite/proxy.html.fr | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/docs/manual/rewrite/proxy.html.fr b/docs/manual/rewrite/proxy.html.fr index 41350b03..b27f997b 100644 --- a/docs/manual/rewrite/proxy.html.fr +++ b/docs/manual/rewrite/proxy.html.fr @@ -9,7 +9,7 @@ <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 src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /></head> @@ -59,12 +59,10 @@ correspondance</a></li><li><a href="access.html">Contrôle d'accès</a></li><li><a <p>Pour passer une URL à un autre serveur, on utilise le drapeau [P] comme suit :</p> -<pre class="prettyprint lang-config"> -RewriteEngine on +<pre class="prettyprint lang-config">RewriteEngine on RewriteBase /produits/ RewriteRule ^widget/(.*)$ http://produits.example.com/widget/$1 [P] -ProxyPassReverse /produits/objet/ http://produits.example.com/objet/ -</pre> +ProxyPassReverse /produits/objet/ http://produits.example.com/objet/</pre> <p>Dans le deuxième exemple, nous ne mandatons la requête que si nous @@ -73,12 +71,10 @@ ProxyPassReverse /produits/objet/ http://produits.example.com/objet/ autre, et que vous n'êtes pas certain que tout le contenu a déjà été migré.</p> -<pre class="prettyprint lang-config"> -RewriteCond %{REQUEST_FILENAME} !-f +<pre class="prettyprint lang-config">RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^/(.*) http://ancien.exemple.com/$1 [P] -ProxyPassReverse / http://ancien.exemple.com/ -</pre> +ProxyPassReverse / http://ancien.exemple.com/</pre> </dd> @@ -117,7 +113,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/rewrite/proxy.html'; } })(window, document); //--><!]]></script></div><div id="footer"> -<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Autorisé sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2014 The Apache Software Foundation.<br />Autorisé sous <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="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); |