Welcome Guest | Login

correct path to the public folder

So I'm sorry, I know that this is a very beginner question but I'm not sure how to link to my images javascripts and stylesheets from my index.html.erb.  Right now I have ...

<head>
<link rel="stylesheet" type="text/css" href="/stylesheets/style.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/news_style.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/brothers_style.css">  
</head>

but the website remains unformatted.  What is the problem and what is the correct path?

2008-07-31 09:02 PM

I could see that the line " RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] " in your .htaccess file was above the line " RewriteEngine On " . I've commented it out and put below " RewriteCond %{REQUEST_FILENAME} !-f " . Your site is working fine now.

2008-07-31 09:53 PM

Thanks

2008-08-01 12:35 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!