i can't get my app to use my css file (unless i remove the !DOCTYPE). in development mode with webrick i don't have this problem, only here in production with mod_rails:
<VirtualHost *:80> ServerName mysite.com ServerAlias www.mysite.com DocumentRoot /services/httpd/mysite.com/public <Directory "/services/httpd/mysite.com/public"> # give apache access to the public/ folder.. Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> RailsBaseURI / </VirtualHost>
i call my stylesheet like this:
<%= stylesheet_link_tag 'display' %>
which ends up looking like:
<link href="/stylesheets/display.css?1208424886" media="screen" rel="stylesheet" type="text/css" />
i can access http://www.mysite.com/stylesheets/display.css just fine.
i just don't get it...
by removing <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http:// www.w3.org/TR/html4/strict.dtd"> from my header though, everything works, but i'm not removing my doctype...
thanks.