apache - mod_rewrite for IE6 to static page on webserver -


our new website not work in ie6 , wont make work <1% of our traffic. want serve page lives on webserver served when user comes site in ie6. best way achieve this? great if can provide code snippet also.

i able redirect working using this: rewritecond %{http_user_agent} msie\ 6 rewriterule ^(.*)$ /general/notsupported.html [l,r]

however, wanted mask url if comes in on www.example.com/uri/querystring stay there serve page saying "sorry" ie6 not supported.

thanks in advance!

something should it:

rewriteengine on rewritecond %{http_user_agent} whatever_the_ie6_user_agent_string_is rewriterule .* /path/to/your/static/page [r] 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -