Blog: 2012

I can haz environments? Woes of a web warrior 5

So, you want a new website? What do you think the odds are of getting a site that you're happy with…a near certainty? 1 in 2? 1 in 6? I can't say that I have all the answers, but I do have some stories to tell - and I hope these tales will help you beat the odds.

Blog tags:

The Grid: Woes of a web warrior 4

So, you want a new website? What do you think the odds are of getting a site that you're happy with…a near certainty? 1 in 2? 1 in 6? I can't say that I have all the answers, but I do have some stories to tell - and I hope these tales will help you beat the odds.

Blog tags:

Agility is the answer: Woes of a web warrior 3

So, you want a new website? What do you think the odds are of getting a site that you're happy with…a near certainty? 1 in 2? 1 in 6? I can't say that I have all the answers, but I do have some stories to tell - and I hope these tales will help you beat the odds.

Blog tags:

Race to the bottom: Woes of a Web Warrior 2

So, you want a new website? What do you think the odds are of getting a site that you're happy with…a near certainty? 1 in 2? 1 in 6? I can't say that I have all the answers, but I do have some stories to tell - and I hope these tales will help you beat the odds.

Blog tags:

We know best - Woes of a Web Warrior

So, you want a new website? What do you think the odds are of getting a site that you're happy with…a near certainty? 1 in 2? 1 in 6? I can't say that I have all the answers, but I do have some stories to tell - and I hope these tales will help you beat the odds.

Blog tags:

Quick and dirty apachesolr for drupal

Here's a quick and dirty guide to setting up apachesolr to work on a Drupal instance.

Do not use this for production!

This is aimed at quickly setting up a rough-and-ready apachesolr server on Ubuntu.

Installation and setup

sudo apt-get install solr-jetty

Why Jetty? Quick and dirty…

Blog tags:

Testing if stdout is empty in bash

So, you want to check if something's in LDAP…ldapsearch, right?

Well, that works fine if you're a human…but if you're trying to script it - say, because you're trying to puppetise something - it's a little harder. Because ldapsearch provides an exit code of 0, irrespective of whether it matches any entries. It only returns a failure exit code if the query syntax is invalid.

Apache lock-down

It's a request I get a lot when a site's in development: put the website on a public server, but lock it down so you need a password to get into the site.

There are a few Drupal modules for this:

But I want to do something with Apache (why? I don't want to add a module that's not going to be used in production, and it makes testing a little more reliable).

Using memcache? You should be.

Adding memcache to a Drupal site will massively increase the performance (x2 is not unusual).

Here's a basic configuration (add this to the settings.php configuration) - more to follow soon!

Subscribe to Blog: 2012