diff options
author | André Malo <nd@apache.org> | 2010-01-01 21:29:38 +0100 |
---|---|---|
committer | André Malo <nd@apache.org> | 2010-01-01 21:29:38 +0100 |
commit | 5043839f0fa8b7c726b4a6713b937bbb8bca3057 (patch) | |
tree | 6f0bfdedb8618b5f2d683747be31580a4eac8673 /docs/manual/rewrite/rewrite_guide.xml.fr | |
parent | Rewrite rule flow. Diagram donated by Joseph Pecoraro. (diff) | |
download | apache2-5043839f0fa8b7c726b4a6713b937bbb8bca3057.tar.xz apache2-5043839f0fa8b7c726b4a6713b937bbb8bca3057.zip |
don't use translations of example.com.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@895067 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/rewrite/rewrite_guide.xml.fr')
-rw-r--r-- | docs/manual/rewrite/rewrite_guide.xml.fr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/manual/rewrite/rewrite_guide.xml.fr b/docs/manual/rewrite/rewrite_guide.xml.fr index 5ba0f14256..b874d9d37d 100644 --- a/docs/manual/rewrite/rewrite_guide.xml.fr +++ b/docs/manual/rewrite/rewrite_guide.xml.fr @@ -113,7 +113,7 @@ RewriteRule ^/u/(<strong>[^/]+</strong>)$ /$1/$2<strong>/</strong> [<strong RewriteCond %{HTTP_HOST} !^www\.exemple\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteCond %{SERVER_PORT} !^80$ -RewriteRule ^/?(.*) http://www.exemple.com:%{SERVER_PORT}/$1 +RewriteRule ^/?(.*) http://www.example.com:%{SERVER_PORT}/$1 [L,R,NE] </pre></example> @@ -121,7 +121,7 @@ RewriteRule ^/?(.*) http://www.exemple.com:%{SERVER_PORT}/$1 <example><pre> RewriteCond %{HTTP_HOST} !^www\.exemple\.com [NC] RewriteCond %{HTTP_HOST} !^$ -RewriteRule ^/?(.*) http://www.exemple.com/$1 [L,R,NE] +RewriteRule ^/?(.*) http://www.example.com/$1 [L,R,NE] </pre></example> <p> Si vous souhaitez que cette règle s'applique à tous les noms de @@ -181,7 +181,7 @@ RewriteRule <strong>^/$</strong> /a-propos-de/ [<strong>R</strong>] <directive module="mod_alias">RedirectMatch</directive> :</p> <example> -RedirectMatch ^/$ http://exemple.com/apropos/ +RedirectMatch ^/$ http://example.com/apropos/ </example> <p>Notez aussi que cet exemple ne réécrit que l'URL racine. En d'autres termes, il réécrit une requête pour <code>http://example.com/</code>, |