# Help with Apache2 and stylesheet

**URL:** <https://www.ruby-forum.com/t/help-with-apache2-and-stylesheet/134651>\
**Category:** Rails\
**Created:** [April 13, 2008, 2:05pm UTC](https://www.ruby-forum.com/t/help-with-apache2-and-stylesheet/134651 "2008-04-13T14:05:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [April 13, 2008, 2:05pm UTC](https://www.ruby-forum.com/t/help-with-apache2-and-stylesheet/134651/1 "2008-04-13T14:05:16Z")

</div>

I have problems with my \<%= stylesheet\_link\_tag ‘example’ %\> with apache  
. I have my css file under public/stylesheets/example.css, but it seems  
apache can’t read it.

---

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [April 13, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/help-with-apache2-and-stylesheet/134651/2 "2008-04-13T15:17:46Z")

</div>

On 13 Apr 2008, at 13:05, John S. wrote:

> I have problems with my \<%= stylesheet\_link\_tag ‘example’ %\> with  
> apache  
> . I have my css file under public/stylesheets/example.css, but it  
> seems  
> apache can’t read it.

Are the file permissions right (ie is the file readable by the user  
under which apache runs)?

Fred

---

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [April 13, 2008, 3:24pm UTC](https://www.ruby-forum.com/t/help-with-apache2-and-stylesheet/134651/3 "2008-04-13T15:24:10Z")

</div>

Frederick C. wrote:

> On 13 Apr 2008, at 13:05, John S. wrote:
> 
> > I have problems with my \<%= stylesheet\_link\_tag ‘example’ %\> with  
> > apache  
> > . I have my css file under public/stylesheets/example.css, but it  
> > seems  
> > apache can’t read it.
> 
> Are the file permissions right (ie is the file readable by the user  
> under which apache runs)?
> 
> Fred

It’s all right now. Thanks any way
