Posts categorized: Blog
Page 3 of 11
Instead of blacklisting a million billion different bad bots, a perhaps more effective strategy is to whitelist the good bots. In this post, I discuss the pros and cons of a general strategy for whitelisting bad bots, and then examine an experimental set of .htaccess rules that you can customize and use to develop your […]
This article explains how to protect against PHP “fingerprinting” attacks, whereby an actor attempts to gain sensitive information regarding the version of PHP running on your server. Aka version probing, disclosure, among others.
Version 1.7 now available! This update to the First Edition of .htaccess made easy features some great improvements, including new techniques and updated template files. Here is a summary of changes:
This tutorial explains how to quickly add custom HTTP headers using a bit of .htaccess. Estimated 30 seconds to read and add your own custom header.
This tutorial explains how to remove two or more forward slashes // from URL requests. The technique uses the RedirectMatch directive of Apache’s mod_alias module. Simple copy-&-paste technique.