Category Archives: Wordpress

Apache HTTP authentication against WordPress password database

0.00 avg. rating (0% score) - 0 votes

The stock mod_auth_mysql package in Ubuntu is not able to authenticate against the phpass password hashes stored in the WordPress database.

There seems to be a patch lying around to enable phpass authentication in mod_auth_mysql. Its inclusion in mod_auth_mysql has been requested a long time ago, and again more recently, but for one reason or another it has been declined. Inclusion of the patch into the Debian package has also been requested.

Thanks to Peter Lamberg, there are good instructions around on how to apply the patch and enable it. I’ve made available a pre-compiled 64-bit package here: Continue reading Apache HTTP authentication against WordPress password database

Make WordPress Twenty Eleven theme post pages full wide

0.00 avg. rating (0% score) - 0 votes

I wanted to make the indivitual post pages 100% wide, and also the headings a bit bigger. Here’s the CSS to do it:

Example H1

Example text 1

Example H2

Example text 2

I used the Add to All plugin to do it. Seems to work fine. Thanks go to:

Hunajapurkki: A honeypot link widget for WordPress

0.00 avg. rating (0% score) - 0 votes

As a first excercise in creating WordPress plugins, I decided to write an extremely simple widget which can be used to lure spammers’ address harvester bots to honeypots, for example ones set up using the Project Honey Pot web site. If you want to help fight spam, just sign up for free at their page and follow the instructions. You can add your honeypot to your WordPress site using the Hunajapurkki widget. Continue reading Hunajapurkki: A honeypot link widget for WordPress

WordPress Logins and Administration over SSL

0.00 avg. rating (0% score) - 0 votes

To force SSL logins and the administration interface, edit wp-config.php and add these before the “/* That’s all, stop editing! Happy blogging. */” line:

You must set up Apache to use SSL of course.

A lot more info can be found here: