On Thursday 07 June 2007 08:58, [EMAIL PROTECTED] wrote:
>  I'm trying to push a beta build of an App I wrote to my Apache server
>  but, I'm running into some problems (I'm pretty sure it's permission
>  related)
>
>  Here's the details.
[snip]
>  /home/thebest/TheBest/alpha1/TheBest is the root of the Django project
>  (contains __init__.py)
[/snip]

It's typical for directories under home to be created without world readable 
permissions -- I'd start looking at /home/thebest and working your way down. 
What you want is for your code to be world readable so that the web server, 
running as a different user, can read but not change any of the code.

You can do that with something like:

find /home/thebest -type d -exec chmod a+rx {} /;
find /home/thebest -type f -exec chmod a+r {} /;

Or you can make sure that the webserver and your code are in the same group 
and make the code group readable.

John


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to