Saturday, 28 September 2013

Block IE but keep some reserved links

Block IE but keep some reserved links

I blocked Internet Explorer (IE 6~9) via Apache .htaccess, so all links
will be blocked if the agent equivalent to Internet Explorer, Now I want
to ask that is it possible to ignore some reserved links?
here is my current .htaccess:
RewriteCond %{HTTP_USER_AGENT} "MSIE [6-9]" [NC]
RewriteCond %{REQUEST_FILENAME} !ie
RewriteRule .* /ie [L]

No comments:

Post a Comment