June 30, 2006

sudo chown -r www-data /var/www

Filed under: Programming, Technology — dave @ 8:01 am

I’ve spent maybe 4-6 hours trying to get Ruby on Rails running on Apache, using mod_fcgid under Ubuntu Dapper Drake and I was about ready to kill someone. I’d edited apache.conf, the site confiuration, mod files, .htaccess files ruby files, pretty much everthing in /var/www and /etc/apache2. The problem? I owned the files in the Rails application instead of the www user. Bah!!!