Lighttpd: username and groupname don't take effect

Hello,

In my lighttpd.conf I’ve got:
server.username = “www”
server.groupname = “www”

I fire up Lighty in production mode as root: script/server

When I print ENV[“USER”] in Rails it incorrectly prints root instead of
www. Can someone please shed some light on this for me?

Thanks,
DOug

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