I’m trying to set up a rails app (Radiant CMS) on Apache2 (on Ubuntu).
It sort of works, but I can’t get the right configuration to see the
When I try to access the site, I’m seeing an unstyled page, and the
apache error log shows:
[Mon Sep 18 23:03:08 2006] [error] [client 10.1.1.101] File does not
exist: /var/www/styles.css, referer: http://10.1.1.104/radiant/
I don’t know why it’s trying to find the style sheet in /var/www.
The app is set up in /var/www/radiant and my Apache site config file is:
DocumentRoot /var/www/radiant/public/ ErrorLog /var/log/apache2/error.log Alias /radiant /var/www/radiant/public <Directory /var/www/radiant/> Options ExecCGI FollowSymLinks AddHandler cgi-script .cgi AddHandler fcgid-script .fcgi AllowOverride all Order allow,deny Allow from all </Directory>
This isn’t the first Rails app I’ve tried to get running under Apache.
Can someone please post the appropriate voodoo to make it work? (BTW,
it works fine using script/server)