RE: Rails Lighttpd Issue on Fedora

In your lighty config, try looking here…

server.document-root = CWD + “/public/”

I’m not sure if CWD works or not. I know we had the same problem until
we
set the server.document-root to the public directory. For example:

server.document-root = “/var/www/rails/dev/our_apps/public”

Now our CSS, images, etc. work fine.

Hope this helps.

cn

Chris N. wrote:

In your lighty config, try looking here…

server.document-root = CWD + “/public/”

I’m not sure if CWD works or not. I know we had the same problem until
we
set the server.document-root to the public directory. For example:

server.document-root = “/var/www/rails/dev/our_apps/public”

Now our CSS, images, etc. work fine.

Hope this helps.

cn

Hi chris,

I tried that out. Didn’t work at all. What do you think could be the
cause for it?

thanks,

Bing

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