Yahallo,
Dans ma conf apache, j’aimerais que si le client est sous IE <=7 alors redirection vers “/OldBrowser.html”
J’ai tenté :
<If %{HTTP_USER_AGENT} = “MSIE [1-7].”>
Redirect permanent “/” “/OldBrowser.html”
Vous pourriez m’aider svp ?
Yahallo,
Dans ma conf apache, j’aimerais que si le client est sous IE <=7 alors redirection vers “/OldBrowser.html”
J’ai tenté :
<If %{HTTP_USER_AGENT} = “MSIE [1-7].”>
Redirect permanent “/” “/OldBrowser.html”
Vous pourriez m’aider svp ?
Hello,
Tu devrais utiliser une rewritecond plutôt ça sera plus adapter :
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} MSIE\ [1-7]
RewriteRule .* /OldBrowser.html [R=301]
Un truc comme ça, ça devrait fonctionner 
OKay, merci !