I am a newbie.

Everywhere I read about django, it suggests to put your django project
outside of your servers document root.

My question is if my document root is '/var/www/vhosts/domain.com/
doc_root' and I put my project outside of that root, at '/var/www/
vhosts/domain.com/django_site' how do i link it to my 'doc_root', so
when i go to http://www.domain.com, it serves my djano site?

Basic stuff... Just can't find a definitive answer anywhere...

Also, how would having the django code in your document_root, pose a
security problem, if it is all server-side code? I come from a PHP
background, so I am very used to just putting the entire site in the
root.

Thanks,


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