Hello Daniel,

so the projects could be as well on the users home path?

It makes more sense for me to put them on the home path than anywhere
else.

On 15 Sep., 21:59, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Sep 15, 8:49 pm, orschiro <orsch...@googlemail.com> wrote:
>
> > Hello Léon Dignòn,
>
> > you told that your projects lie beneath /var/www..
>
> > So the reason for that is that you might use Apache?
>
> > As I remember (I'm using nginx instead of Apache) this is the default
> > directory.
>
> It's a very bad idea to put your Django code under /var/www. That's
> the default root for Apache, so your code files might end up being
> served out to users - allowing them to see implementation details and
> even database passwords.
>
> Django and your project code don't need to live under the Apache root,
> it should just be somewhere on the Python path.
> --
> DR.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to