On Dec 7, 8:47 am, Sameer Rahmani <lxsam...@gmail.com> wrote: > it's very simple ( if you have root access to your host ) just create a > directory with the name : ".python-eggs" in ther "/" ( root directory ) and > change it owner to the apache user ( the user who run apache ). > ( if you don't have root access ) change you mod_wsgi or mod_python settings > tu use onother dir for its egg cache i thinks its settings is in apache.conf
Please don't recommend putting stuff in '/.python-eggs'. It isn't an appropriate place for that sort of stuff unless you want to fill your operating system install directories with cruft. At the same time, should also point out that one should also not set the Python egg cache to be '/tmp' or '/var/tmp' either because of security implications due to said directories being writable by other users. So, create a special directory elsewhere for the egg cache, preferably specifically for that web application installation. In other words, try to avoid a common directory for many web applications unless that is actually a sensible thing to do for the specific applications being used. For mod_wsgi you can also avoid the problem by not using embedded mode and instead use daemon mode and set user/group to be yourself rather than Apache user. That way it will use Python egg cache directory from your own home directory. 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-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.