# CSS not applied using apache

**URL:** <https://www.ruby-forum.com/t/css-not-applied-using-apache/61393>\
**Category:** Rails\
**Created:** [May 23, 2006, 7:24pm UTC](https://www.ruby-forum.com/t/css-not-applied-using-apache/61393 "2006-05-23T19:24:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/958977/32.png) [@chris](https://www.ruby-forum.com/u/chris)\
**Post date:** [May 23, 2006, 7:24pm UTC](https://www.ruby-forum.com/t/css-not-applied-using-apache/61393/1 "2006-05-23T19:24:02Z")

</div>

Hi all,

I have recently configured rails to run under apache. I’ve tried adding  
a stylesheet using the stylesheet\_link\_tag function, however when I load  
the page I do not see the affects of the stylesheet. The URL to the  
stylesheet looks correct when viewing the page’s source. Has anyone  
else seen this problem?

Thanks for your help,  
Chris

---

<div class="post-metadata">

**Author:** ![chris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/958977/32.png) [@chris](https://www.ruby-forum.com/u/chris)\
**Post date:** [May 23, 2006, 7:33pm UTC](https://www.ruby-forum.com/t/css-not-applied-using-apache/61393/2 "2006-05-23T19:33:12Z")

</div>

Try typing in the url to the stylesheet directly into your browser  
window. If it doesn’t show up, try looking in your apache logs to see  
where things are not matching up.

If a style sheet is not working, the problem is most likely that it  
can not be found assuming you had it working previously.

Good luck,  
Tom

On 5/23/06, Chris [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
Tom D.

[http://blog.atomgiant.com](http://blog.atomgiant.com)  
[http://gifthat.com](http://gifthat.com)

---

<div class="post-metadata">

**Author:** ![chris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/958977/32.png) [@chris](https://www.ruby-forum.com/u/chris)\
**Post date:** [May 23, 2006, 9:21pm UTC](https://www.ruby-forum.com/t/css-not-applied-using-apache/61393/3 "2006-05-23T21:21:40Z")

</div>

Tom,

I followed your advice and found out that the permissions were set  
incorrectly on the file. The CSS is being applied now. Thanks for your  
help!

Chris

Tom D. wrote:

> Try typing in the url to the stylesheet directly into your browser  
> window. If it doesn’t show up, try looking in your apache logs to see  
> where things are not matching up.
> 
> If a style sheet is not working, the problem is most likely that it  
> can not be found assuming you had it working previously.
> 
> Good luck,  
> Tom
> 
> On 5/23/06, Chris [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > –  
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> > 
> > * * *
> > 
> > Rails mailing list  
> > removed\_email\_address@domain.invalid  
> > [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)
> 
> –  
> Tom D.
> 
> [http://blog.atomgiant.com](http://blog.atomgiant.com)  
> [http://gifthat.com](http://gifthat.com)
