On Sunday 09 October 2005 23:41, Michael Schuerig wrote:> I''d like to run the FastCGI as a different user than the Apache2
> server (www-data on Debian). I take it this is possible in some way
> with suExec2, but so far I haven''t figured out how to do it.
Well, I''ve figured it out partially.
<IfModule mod_fastcgi.c>
FastCgiWrapper /usr/lib/apache2/suexec2
FastCgiServer /var/www/myapp/dispatch.fcgi \
-initial-env RAILS_ENV=production \
-processes 5 -idle-timeout 60 \
-user myuser -group mygroup
</IfModule>
It still doesn''t work because I have my app symlinked into the document
root and suexec complains about the dispatch.fcgi being outside of the
document root. Is it possible to reconcile these two?
Michael
--
Michael Schuerig Most people would rather die than think.
mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org
In fact, they do.
http://www.schuerig.de/michael/ --Bertrand Russell