Fix ModSecurity false positives on __cf_bm CloudFlare cookie

If your web site uses both ModSecurity and CloudFlare, and visitors to your web site are blocked intermittently, then the problem could be a Cross-Site Scripting (XSS) protection rule in ModSecurity. This article will show you how to fix the problem.

How to honor Do-Not-Track and Global Privacy Control requests

Google documents methods to opt-out a user from Google Analytics and tracking on your web site. However, they do not show you how implement this only for users that have the Do-Not-Track or Global Privacy Control settings enabled in their web browser. This article will provide two examples that perform user opt-out on Google Analytics. The techniques shown here could be applied to other analytics and tracking code as well.