fcgid, suexec, and userdir

Posted by Martin v. Löwis on Server Fault See other posts from Server Fault or by Martin v. Löwis
Published on 2011-01-10T07:59:59Z Indexed on 2011/01/10 8:55 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

I'm trying to set up per-user trac instances, using fcgid. The problem is that trac requires rw access to the trac instance, so I need the fcgi process to run under the respective user.

I have the suexec, fcgid, and userdir Apache modules installed (on Debian). I put up vhost directive

ScriptAliasMatch /~(.*)/trac /home/$1/public_html/trac.fcgi

This works insofar as trac.fcgi is run, but unfortunately, under the www-data user. How can I make fcgid launch it under the $1 user?

© Server Fault or respective owner

Related posts about apache

Related posts about trac