Stylesheet_link_tag and apache2

On apache2, my rails application cannot access my stylesheet.

<%= stylesheet_link_tag ‘my_railsblog_stylesheet’ %>

however, all is fine if I run my application on webrick!

why? Am I doing something wrong with my apache configuration:

My Apache configuration

DocumentRoot /home/ac/railsblog/public/
ErrorLog /home/ac/railsblog/log/server.log
<Directory /home/ac/railsblog/public/ >
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny

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

where it belongs and now all is fine.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs