Hi all,

my server runs a few vServers for different users. I‘ve set up an information 
source (uwsgi and scgi/php) for each vServer and user. The processes for uwsgi 
or php should be executed as the user that “owns” the vServer (e.g. stefan 
instead of www-data) to allow read/write access to the users files.

But although I entered a user/group in the Information Source config, the 
processes get executed as www-data:www-data

I’m running cherokee 1.0.4 on a vserver with ubuntu lucid 10.04.

Here is the config for on of the sources:

source!2!env_inherited = 1
source!2!group = stefan
source!2!host = /tmp/cherokee-stefan.sock
source!2!interpreter = /usr/bin/uwsgi -s /tmp/cherokee-stefan.sock -t 10 -M -p 
10 -C --pythonpath /path_to_django_site/ -w django_wsgi -H /path_to_venv
source!2!nick = uWSGI stefan
source!2!type = interpreter
source!2!user = stefan

And the server config:

config!version = 001000004
server!bind!1!port = 80
server!bind!1!tls = 0
server!collector = rrd
server!group = www-data
server!ipv6 = 1
server!keepalive = 1
server!keepalive_max_requests = 500
server!panic_action = /usr/share/cherokee/cherokee-panic
server!pid_file = /var/run/cherokee.pid
server!server_tokens = minor
server!timeout = 15
server!user = www-data


I already found these links, which tell me, my problem should be solved, but 
obviously it isn’t … ;-)
http://lists.octality.com/pipermail/cherokee/2009-April/010115.html
http://code.google.com/p/cherokee/issues/detail?id=449
http://groups.google.com/group/cherokee-http/browse_thread/thread/51d7588b38740dee


What do I do wrong?

Cheers,
Stefan
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to