Matthew Helmke (dot) Net

Random things that interest me.

I have switched this site from using Apache to using nginx

January7

And I couldn’t be happier. It took a while for me to figure out how to do url rewrites, but I finally got the basics. There are still one or two things I would like to learn and implement, like how to remove something from an old link to make it point to the new location.

I had a couple of posts on stumbleupon using urls that no longer exist. I was using Apache’s mod_rewrite with rules in an .htaccess file to go from

http://matthewhelmke.net/wordpress/rest_of_url

to

http://matthewhelmke.net/rest_of_url

and I haven’t quite figured that out yet. If you have any ideas or tips, please let me know.

I do have permalinks working (aka pretty urls or clean urls), both on this site and also on one running Drupal. If there is interest in a howto post, I’ll write up a full report on the whole installation and configuration process. It’s pretty cool!

Share and Enjoy:
  • StumbleUpon
  • Facebook
  • Twitter
  • Google Bookmarks
  • email
posted under General, Ubuntu Planet
5 Comments to

“I have switched this site from using Apache to using nginx”

  1. On January 7th, 2009 at 9:33 pm george Says:

    Awesome waste of time.

  2. On January 7th, 2009 at 9:43 pm matthew Says:

    Well, George, I did it to allow my site to run on a low-memory server without spending more money. It worked beautifully…and didn’t waste my time at all. Of course, you could have meant something entirely different, so if you want to elaborate, I’ll listen.

  3. On January 7th, 2009 at 10:12 pm Urko Says:

    Well, I think it’s far from being a waste of time!

    Nginx or Lighttpd? Why did you go with nginx?

    And yes, I’d be interested in a guide. I’m all for squeezing more performance from a box!

  4. On January 7th, 2009 at 10:20 pm hads Says:

    You also learned something which makes it even less of a waste of time.

  5. On January 7th, 2009 at 10:28 pm matthew Says:

    I love learning stuff just for the sake of learning it. This time around, it had some real benefits too.

    I’ll see if I can write up a guide in the next few days.

    I chose nginx because of its reputation for stability, and because I have at least one friend using it who I could use as a resource. Both it and lighttpd looked good.