Protect your website with htaccess

Today we had the need to setup a htauth-secured WordPress blog for internal development purposes. We duly protected our web application with the vanilla .htaccess directives:


This is a companion discussion topic for the original entry at https://www.funkypenguin.co.nz/how-to/protect-your-website-with-htaccess-while-allowing-individual-ip-addresses-unrestricted-access/