Posts categorized: Blog

Page 2 of 10

Protect Against PHP Fingerprinting Attacks

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.

Book Update: Version 1.7

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:

Add Custom HTTP Headers with .htaccess

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.

Remove double forward slashes from URL

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.

Target Apache versions with IfVersion

Apache provides a convenient way to conditionally check for its version number, which can be useful when writing directives that require specific modules and configurations. This tutorial explains how it’s done with a few simple examples.