django + wsgi + suexec + userdir + apache?

Posted by Jayen on Server Fault See other posts from Server Fault or by Jayen
Published on 2011-07-10T10:08:54Z Indexed on 2013/10/30 9:58 UTC
Read the original article Hit count: 384

Filed under:
|
|
|
|

I've got a django 1.1 website I want to run in wsgi (as that seems to be the recommended deployment on apache). I want it to run as the www user (apache is running as www-data). I would ideally like this to work out of http://hostname/~www/ (~www/public_html) as well as http://virtualhostname/. I also want this to work for other users who may later use wsgi. Can I make this happen? I've been staring at docs trying to figure where to start, but I'm having trouble combining userdir and wsgi to let me run ~xxx/public_html/index.wsgi as user xxx, for every user xxx.

© Server Fault or respective owner

Related posts about apache2

Related posts about django