Sunday, June 6, 2010

Issues running Djano app as Apache's www-data user with mod_wsgi.

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?

Chris


--
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


Real Estate