Monthly Archives: June 2006

WordPress 404 with lighttpd (lighty)

If you are having a problem getting your wordpress 404 page to show up when using lighttpd you need to add the following to your lighttpd config file to tell it where to get 404 responses from: This assumes that your blog starts at the root directory. Tags: wordpress, lighthttpd, lighty
Posted in system administration | Leave a comment

Some interesting and useful AJAX/Javascript code

I like seeing more and more uses of prototype. I'm not sure if the big guys will win out with their UI toolkits (Yahoo UI/GWT) or if it will always feel better to put things together by hand. Either way it is good to understand how this stuff works. This is an edit in place [...]
Posted in web design | Tagged , | Leave a comment

Upgrade FC4 to FC5 with yum

I recently upgraded a bunch of FC4 (a few FC3) installs to FC5 using yum. It has been a long time since I've tried doing an OS upgrade like this because it used to be pretty painful. I was surprised at how easy it is to do now. There are a few issues to get [...]
Posted in linux, system administration | 12 Comments

Cleaning up stale rails sessions (removing ruby_sess files)

I'm not sure if something isn't set up correctly of if this is just a fact of life with rails but the sessions it creates never seem to go away. I think before rails 1.1 the sessions where stored in /tmp and now they are stored in the apps directory along with everything else so [...]
Posted in system administration | Tagged , | Leave a comment

Creating S3 URLs that expire using PHP

After reading this post on the S3 forum I realized that other people are thinking about doing some of the same stuff I have. paolonew was looking for a way to for a way to create URLs to S3 objects that expired. I did this a while back when I was thinking about how to [...]
Posted in programming | Tagged , | 1 Comment