darxus: (Default)
darxus ([personal profile] darxus) wrote2009-07-12 07:40 pm
Entry tags:

How to deny access to your Apache web server to all Microsoft browser users

RewriteCond %{REQUEST_URI} !^/fail/$
RewriteCond %{HTTP_USER_AGENT} .*MSIE.*
RewriteRule .* /fail/ [R]

This redirects to the /fail/ page on your web site.

It will be interesting to see what happens to my log files.

(Reason in previous post.)

[identity profile] milktree.livejournal.com 2009-07-13 12:03 am (UTC)(link)
So, just for curiosity, why would you want to do that?

[identity profile] darxus.livejournal.com 2009-07-13 12:05 am (UTC)(link)
I added the link to my previous post around the same time you commented.