This is a patch to comment.php for a wordpress installation. Basically if the X_FORWARDED_FOR header is set then the comment is attributed to that IP instead of the IP address of the remote connection. For those that run WordPress behind a reverse proxy, like Squid, Apache, etc. this is helpful. Of course this header can [...]
For those that have not figured it out WordPress is the content management system for this site. I am using a plugin called StatPress. A “visitor” in the lingo of StatPress is not cookie based (which one could argue it should be, since so many places use web proxies for their clients, myself included) but [...]




Recent Comments