Entries from October 2008 ↓

Installing fcgid with suexec AND phusion passenger


It was a troublesome day today. All did not go as planned.

I had to install fcgid + suexec on one of our servers, I had delayed it too long. So I used my how-to and it still worked flawless. But I noticed I hadn’t mentioned what the right were of the suexec binary. So here it goes:

chown root:www-data suexec
chmod 4754 suexec

After the install I restarted Apache and looked at one of the sites. And it worked! I was baffled. That’s the first time I installed fcgid without hours long of searching where the flaw was.

But then I looked at our support system (Redmine) and it didn’t work too well :)

All controllers were being executed ‘n stuff. But the stylesheets, images and javascripts were not loaded. When requesting an image in the browser I got Rails 404-error page. Huh? Apache should have handled that request. At first I thought it was because of some changes I made to the virtualserver configuration of an other Rails site. But after some trial and error I couldn’t find anything that was wrong.

Then I removed the .htaccess from the public directory of Redmine. That once worked for one of my rails sites. But no cigar. Then I noticed that there were a lot of dispatch*example.rb’s in the public directory. And: after removing them, the stuff worked. So it seems like Rails or Phusion Passenger uses some kind of fuzzy matching when searching for a dispatch.rb. And it first just worked because fcgid was not installed. So I don’t know who’s to blame. But the problem is solved. Phew!

Installing flash player 10 on Ubuntu Intrepid Ibex

I wanted to install flash player 10 because flash player nine kept crashing on my Ubuntu 8.10 installation. So I found a nice howto on google an followed it. The article explains how to install it on a 64 bit installation of the Ubuntu operating system.

The howto worked fine, but flash kept crashing. I think it has something to do with the nspluginwrapper package.

[edit]
Flash 10 is now the default install, so this post is no longer needed!
[/edit]

Released github widget

I think you all noticed my fabulous new sidebar widget: My projects :P

It shows all of my github projects. I directly turned it into a plugin for you to enjoy. You can download and read the documentation in the wordpress plugin directory.