Jonathan,
You make a good point about running mongrel as root.
Previously I wasn't doing that and was using Capistrano
to restart mongrel. So you are right, I had to start
thinking about these mongrel/root issues.
I'll begin adding a front end, since I need to get
there anyway, sooner is better.
Thanks,
Jim
Jonathan Rochkind wrote:
> I have no experience with nginx, but someone else on this list said it
> was common, so that'd probably work.
>
> If you plan to go that route eventually anyway, I'd just do that now,
> because what you need to do to get your mongrel to answer on port 80
> will change completely in the presence of nginx or apache vs. now with a
> bare mongrel. So the work you're doing now to figure out how to get
> mongrel to run bare on 80 seems kind of unproductive.
>
> I don't honestly have any specifics in mind as far as problems from
> running a bare mongrel on port 80 in production. Maybe others on the
> list do. Just that that doesn't seem to be the popular or recommended
> way to do it, so you might run into weird problems that others don't. As
> you've noticed, one is that you will need to run the mongrel as root,
> which is really pretty undesirable. Or come up with some custom solution
> to start mongrel as root and attach it to 80 then exec it as another
> user. But now you're creating weird solutions just to get mongrel to run
> bare on 80, when if you're planning on running it under nginx or apache
> anyway you won't ultimately need, so why deal with it unneccesarily?
>
> Jonathan
>
> James Testa wrote:
>>
>>>
>>>>
>>> --
>>> Jonathan Rochkind
>>> Digital Services Software Engineer
>>> The Sheridan Libraries
>>> Johns Hopkins University
>>> 410.516.8886
>>> rochkind (at) jhu.edu
>>>
>>
>>
>
> --
> Jonathan Rochkind
> Digital Services Software Engineer
> The Sheridan Libraries
> Johns Hopkins University
> 410.516.8886
> rochkind (at) jhu.edu
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users