WordPress 4.4.1 Redirect Loop

You notice you receive one of the following errors whilst trying to browse to the home page of one of your WordPress sites after updating to 4.4.1:

ERR_TOO_MANY_REDIRECTS
This webpage has a redirect loop
This page isn't redirecting properly

I saw this on one of the WordPress sites I manage for a local takeaway. The problem occurred after the update to 4.4.1 and had me stumped.

All other pages would load but not the static homepage. Changing the permalink structure to plain (post-id) fixed the problem but changing it back to postname made the problem reappear.

Interestingly, if I browsed http://homepage/index.php or http://homepage// (yes, a double slash) the home page would load up just fine. Weird. I’m sure a .htaccess rule would fix this but I didn’t delve in to this.

The solution?

Simple. Check your WordPress address and Site Address in Settings –> General.

Ensure they’re both lower cased and not mixed. Don’t ask me why or how this works because I have no idea.

Setting up Duo Security with Ubuntu Server for 2FA

In this article I will go through the steps required to install and configure Duo Security with Ubuntu Server for two factor authentication. This can be adapted to apply to SSH log-ons, sudo access, etc. The Linux PAM (pluggable authentication modules) make this easy to implement and customise.

I currently have this implemented on my Ubuntu 14.04 x64 LTS Server and it works really well.

Continue reading Setting up Duo Security with Ubuntu Server for 2FA

Packet Capture on a Palo Alto Management Interface

In this quick how-to I will show you how you can very easily and quickly run a packet capture on a Palo Alto management interface.
Some reasons why you may want to capture packets on the management interface is to capture traffic such as RADIUS and Syslog which is processed via the management plane. Management traffic cannot be captured using the ‘packet capture’ feature on the GUI so we need to do it using the CLI.
Continue reading Packet Capture on a Palo Alto Management Interface

Session Negotiation Failed – Horizon View 6.2

If you’re upgrading from an earlier version of VMware Horizon View to version 6.2 then you may see clients fail to log-in with error messages that follow similar verbage:
SSL session negotiation failed or The Zero Client may not be compatible with the host session negotiation cipher setting.

Continue reading Session Negotiation Failed – Horizon View 6.2

Installing mod_cloudflare on Ubuntu 14.04 for Apache Server

In this article I will briefly go through instructions on installing mod_cloudflare on an Ubuntu 14.04 server running Apache 2.4.

The reason we need the mod_cloudflare module is because Cloudflare acts as a reverse proxy meaning that visitor IP addresses in your access logs (/var/log/apache2/access.log) will appear to come from any one of Cloudflare’s IP addresses; all of which they make available here.

Continue reading Installing mod_cloudflare on Ubuntu 14.04 for Apache Server

Office 2016 KMS Activation Setup

In this brief article I will go through the steps to activate your Office 2016 KMS key.

My set-up is as follows:

  • Server 2012 R2 KMS server (I believe you require Server 2008 R2 onwards for this to work but I may be wrong)
  • Office Professional Plus KMS Key from Microsoft VLSC

Thankfully it’s pretty straight forward so here goes…

Continue reading Office 2016 KMS Activation Setup