This worked on the Debian Squeeze x64 server I just deployed, thanks for posting this!