Re: Issues running Djano app as Apache's www-data user with mod_wsgi.
On Jun 7, 4:47 am, Chris Seberino <cseber...@gmail.com> wrote:
> My Django app runs great with Apache+mod_wsgi.
> Apache now runs my Django app as user www-data.
> This causes issues since my Django app is sitting in my non-root
> user's $HOME directory.
>
> Best solution seems to be to add my user and www-data to same group
> and then put my Django app directory in that group.
>
> Problem is that when I create **NEW** files they are NOT automatically
> added to this new group!??!
>
> Sound familiar?
Use mod_wsgi daemon mode as that allows you to then run just your
Django application as a different user, including yourself.
Graham
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home