No images/stylesheets/javascripts


#1

Had my site working fine on rails with webbrick, now I’ve moved onto fast cgi my images/stylesheets/javascripts no longer load.

anyone any ideas?


#2

sorry, URL is http://www.cars-reunited.org/


#3

Apparently rails is a bit heavier than DH really likes to support in some cases resulting in killed processes which cause sites to get a little funky.

I don’t think it’s rails but maybe enthusiastic process killers - and maybe even slightly misconfigured (or at least differently configured) apache servers.

I would be surprised if it’s a fundamental problem.

Regarding the stylesheets and all, I can’t make a good recommendation to you. Hopefully someone else here will. You might find someone more helpful in the programming forum.

Wholly


#4

I agree, developing for rails has been pretty easy, deployment has been a royal pain in the a$$.

My stylesheet problem was caused by having this line twice in my .htaccess file

RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

DO NOT uncomment the one before RewriteEngine On , as all the tutorials seem to imply, just change the .cgi to .fcgi in the block below it.