On Thu, Mar 4, 2010 at 7:13 PM, RocB <[email protected]> wrote: > [snip] > I have check the python path, I even printed our sys.path from "/usr/ > lib/python2.6/site-packages/django/conf/__init__.py, it looks like: > > ['/home/mycode', ... >
So based on your config I'm assuming you have a mysite directory under /home/mycode and in that mysite directory you have settings.py? If so, then the path looks OK. > I have also chown and chmod the /home/mycode directory. It is > readable by all. > > My system is Fedora 12, apache 2.2.14, djanjo 1.1.1, python 2.6.2 > > Fedora 12 has the security-enhanced linux kernel. If this is active on your system then chown/chmod may not be doing what you expect. I only know enough about selinux to tell you that much; how to configure it to enable Apache to access /home directories is beyond me. But I do recall others on this list have run into this type of problem when setting up machines that use selinux. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

