You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by lg...@apache.org on 2014/03/29 16:51:36 UTC
svn commit: r1583012 -
/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml.fr
Author: lgentis
Date: Sat Mar 29 15:51:36 2014
New Revision: 1583012
URL: http://svn.apache.org/r1583012
Log:
Update.
Modified:
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml.fr
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml.fr?rev=1583012&r1=1583011&r2=1583012&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml.fr (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml.fr Sat Mar 29 15:51:36 2014
@@ -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: 1570684:1580934 (outdated) -->
+<!-- English Revision : 1580934 -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->
@@ -1040,28 +1040,18 @@ RewriteRule ...règles concernant
pouvez utiliser ce qui suit : </p>
<highlight language="config">
-RewriteCond %{HTTP_USER_AGENT} ^Mozilla
-RewriteRule ^/$ /homepage.max.html [L]
-
-RewriteCond %{HTTP_USER_AGENT} ^Lynx
-RewriteRule ^/$ /homepage.min.html [L]
+RewriteCond %{HTTP_USER_AGENT} (iPhone|Blackberry|Android)
+RewriteRule ^/$ /homepage.mobile.html [L]
RewriteRule ^/$ /homepage.std.html [L]
</highlight>
<p>Explications : si vous utilisez un navigateur
- (Netscape Navigator, Mozilla etc) qui s'identifie comme
- 'Mozilla', vous accèderez à la page d'accueil max (qui
- peut contenir des frames, ou d'autres ressources
- particulières).
- Si vous utilisez le navigateur Lynx (qui est un navigateur
- en mode texte), vous accèderez à une page d'accueil min
- (qui peut être une version conçue pour une navigation simple
- basée sur le texte).
- Si aucune de ces conditions n'est satisfaite (vous utilisez tout
- autre navigateur, ou votre navigateur s'identifie de manière non
- standard), vous accèderez à la page d'accueil std
- (standard).</p>
+ qui s'identifie comme un navigateur de mobile (notez que cet
+ exemple est incomplet car il existe de nombreuses autres
+ plateformes mobiles), c'est la version mobile de la page
+ d'accueil qui sera servie. Dans le cas contraire, vous verrez
+ s'afficher la page d'accueil standard.</p>
</usage>