i would suggest to everyone start using buildout to develop or deploy.
it gives so many advantages about separation between projects.
a huge advantage is the repetibility of the project and you dont have to
touch the pythonpath of your server, everything is done by the buildout
configuration!

Stodge wrote:
> I got this working with several sites using Apache. I just created a
> configuration file for each site and pointed it to different settings
> files:
>
> <Location "/test/">
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     SetEnv DJANGO_SETTINGS_MODULE test.settings
>     PythonOption django.root /test
>     PythonDebug On
>     PythonPath "['/var/www/test'] + sys.path"
>     PythonAutoReload On
> </Location>
>
> <Location "/fred/">
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     SetEnv DJANGO_SETTINGS_MODULE fred.settings
>     PythonOption django.root /fred
>     PythonDebug On
>     PythonPath "['/var/www/fred'] + sys.path"
>     PythonAutoReload On
> </Location>
>
> Something like this I think.
>
> On Nov 19, 12:23 pm, Mark Freeman <m...@timewasted.net> wrote:
>   
>> I currently have a working site running Django and now want to move a
>> couple of other of my sites to Django as well. I'm in the process of
>> moving off a hosted VPS to my own local server, where the existing
>> Django site is.
>>
>> My questions is more of best practice when deploying multiple sites to
>> the same server. Given that I have a running site, is it possible to
>> deploy multiple Django 'projects' to the same server and just use
>> Apache to serve them out separately or is it best to use the sites
>> module to do this from the same project? For code cleanliness, I would
>> prefer to have them as separate projects, but I don't want to kill
>> server performance either.
>>
>> Thanks for any suggestions!
>>     
>
> --
>
> 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=.
>
>
>
>   

--

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=.


Reply via email to