August 2, 2005

82 words 1 min read

Microsoft Free Fridays

I ran across the concept known simply as “Microsoft Free Fridays”. Originally I belive it was written as an apache module, but thats too much work. On the other hand I like mod_rewrite — so I shall use that. So starting from now on most all of my websites will be MSIE Free Fridays.

mod_rewrite code for thoes intrested:

<br /> RewriteCond %{TIME_WDAY} ^5$<br /> RewriteCond %{HTTP_USER_AGENT} MSIE<br /> RewriteCond %{HTTP_USER_AGENT} !Opera<br /> RewriteCond %{HTTP_USER_AGENT} !Oregano<br /> RewriteRule ^.*$ [R=302,L]<br />