On Sunday, March 17, 2013 8:47:23 PM UTC+2, Frederick Cheung wrote:
>
> You should just be able to set this in the virtual host configuration.
>
> Now I found a way to do this. I could add

PassengerDefaultUser apache 

# (or whichever user you like except root)


to the virtual host block of the apache conf. I just tested this, and it 
works. 

But there is a more elegant way. All the necessary information is here: 

http://www.modrails.com/documentation/Users%20guide%20Apache.html#user_switching

In essence, you just need to change the owner of config/environment.rb. 
This I did not test yet, though.  

- Jussi

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/b4M4h1BuTuwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to