From the monthly archives:

August 2007

Jetty - lost in the web

August 25, 2007

Grails uses an embedded Jetty instance to serve the application during development. I’m trying to figure out how to configure it with Apache in front using mod_proxy - this means I need to do some Jetty configuration so that when running Jetty it knows it has a proxy in front of it.
It seems though that [...]

Read the full article →

Apache 2 mod_proxy - 403 error

August 24, 2007

I’ve been trying to put Apache2 in front of my Grails Jetty instance so that I can have common resources served by httpd and not included in my Grails web application. I enabled the proxy module, but always got 403 forbidden errors.
Searching around the web turned up this post, which lead me to check which [...]

Read the full article →

Nautilus - stop opening new windows

August 21, 2007

Nautilus on Fedora has an annoying habit of opening new windows every time you double click on a directory. This is enough to drive any one mad, but there is a solution.
Under the edit menu select preferences. On the behaviour tab click the ‘Always open in browser windows’. Not particularly intuitive.
Thanks to Lars E. Pettersson [...]

Read the full article →

Dovecot - Error: No protocols given in configuration file

August 21, 2007

I have been trying to get Dovecot running on my laptop for development purposes, but something went wrong somewhere. The service never started and running the /etc/init.d/dovecot start script never complained or produced any output.
Just trying to find out what the problem is can be difficult sometimes, never mind finding the solution to the problem. [...]

Read the full article →

ProFTPd - Fatal: Socket operation on non-socket

August 21, 2007

I was trying to set up ProFTPd on Ubuntu recently and for some reason it wouldn’t start. Somehow the configuration had been messed up (or something had been). I uninstalled and reinstalled it, but still it wouldn’t start.
While trying to fix this problem, I came across this brilliant FAQ:  Chapter 4. Common Running problems. This [...]

Read the full article →

Wordpress themes

August 21, 2007

Looking for Wordpress themes? Try WPThemesFree.com. This site catalogues tons of themes, and has them categorised appropriately (number of columns, colour scheme, topic). You can view the themes against the test database, and there are statistics available for downloads, views, and tests.

Read the full article →

VMWare Server - Can ping but nothing else between host and guest

August 21, 2007

I’ve been using VMWare Server for testing some software and I’ve found it very easy to use and extremely valuable. This is a free product that lets you create virtual servers using multiple operating systems. Its great, because you can install an OS and then back it up in that state. Then you can make [...]

Read the full article →

The PHP binary coming with ISPConfig does not work properly on your system!

August 20, 2007

Ahhh, this old chestnut. I was installing ISPConfig-2.2.5 when I came across this. I’d done a Fedora 5 install as per The Perfect Setup - Fedora Core 5 (at least I think I followed it exactly), but I still came up with this error.
I found this forum entry (see post 13) , and essentially I [...]

Read the full article →

Basic Apache2 setup

August 20, 2007

I just installed Apache 2.2.4 on Windows XP. I needed to set up virtual hosts, so I added the following to C:\WINDOWS\system32\drivers\etc\hosts:
127.0.0.1 server1.localhost server2.localhost
127.0.0.1 www.server1.localhost www.server2.localhost
Now to configure Apache, the virtual host configuration needs to be included in C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf by uncommenting the line containing:
Include conf/extra/httpd-vhosts.conf
Edit C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra\httpd-vhosts.conf to set up [...]

Read the full article →

Constantly learning what not to do

August 7, 2007

I’m sitting here looking at a JSP file which is over 5000 lines long. It has a massive amount of Java code and JavaScript scattered through it, along with some custom tag libraries. It generates an HTML file over 1.5 meg in download size.
The workstation I am using is a Pentium D with 1 Gig [...]

Read the full article →