cnick
#1
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
cnick
#2
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