Compdigitec Labs

Archive for October, 2010

Reverse proxy (X-Forwarded-For) patches for WordPress comments and Bad Behaviour

Saturday, October 30th, 2010

Update: Reverse proxy support is now built into Bad Behaviour as of 2.1.x. Therefore the following patch is obsolete and should only be applied to Bad Behaviour 2.0.x. You can configure the built-in reverse proxy either through your settings.ini or in WordPress administration. Normally, when PHP scripts access the remote IP of a client through […]