Mikko Kortelainen

Apache HTTP authentication against WordPress password database

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 …

read more

Make WordPress Twenty Eleven theme post pages full wide

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

/* Make individual posts full-width */
.singular.page .hentry {padding:1em;}
.singular .entry-header,
.singular .entry-content,
.singular footer.entry-meta,
.singular #comments-title {
 width: 100%;
}
/* Fix the edit button placement */
.singular …
read more

AVH First Defense Against Spam « WordPress Plugins

I added the AVH First Defence Against Spam plugin to my site. Please report to me If you can't post comments:

AWStats Multi-Site Setup

Here's how to install and configure AWStats to compile separate statistics about multiple Apache sites or virtual hosts running on a single server. This can be done when you configure each Apache site or virtual host to use a different access log file.

The following instructions have been tested on …

read more

ADT requires org.eclipse.wst.sse.core 0.0.0 but it could not be found

In Eclipse 3.8, installing the Android Development tools may fail with the following error:

Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953 …
read more

ACPI Shutdown on Virtual Ubuntu

If your virtual machine does not shut down when asked by the hypervisor, install the package acpi-support.

sudo apt-get install acpi-support

Works at least with KVM, but I see no reason why it would not work as well in other virtualization platforms, if they just send the ACPI shutdown signal …

read more

Wordpress Logins and Administration over SSL

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:

define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);

/* That's all, stop editing! Happy blogging. */

You must set up Apache to use SSL of course.

A lot more info can …

read more
<< Page 4 of 9 >>