Thank you very much Joey and Nik, I will talk about your proposed solutions with our sysadmin.
Best, Roberto On 04/12/2013 01:11 AM, Nikolas Stevenson-Molnar wrote: > Another direction might be to run a separate WSGI HTTP server (like > gunicorn) and proxy to it from Apache. Saves the hassle of messing > around with mod_wsgi. > > _Nik > > On 4/11/2013 3:20 PM, Joey Espinosa wrote: >> >> I had basically the same issue as you. >> >> With only one Django app deployed, it's easy to just stick your >> WSGIPythonPath directive in /etc/apache2/apache.conf. >> >> But with multiple different virtualenvs, you need to do something like >> this: >> >> http://stackoverflow.com/questions/4614121/running-python-from-a-virtualenv-with-apache-mod-wsgi-on-windows >> >> Hope that helps. I've implemented this solution myself. >> >> -- >> Joey Espinosa >> Python Developer >> http://about.me/joelinux >> >> On Apr 11, 2013 5:20 PM, "Roberto López López" <[email protected] >> <mailto:[email protected]>> wrote: >> >> >> Hi Joey, >> >> All of them are in different virtualenvs. >> >> >> >> On 04/11/2013 11:02 PM, Joey Espinosa wrote: >>> >>> I meant Python libs/binary. >>> >>> -- >>> Joey "JoeLinux" Espinosa >>> Python Developer >>> http://about.me/joelinux >>> >>> On Apr 11, 2013 5:00 PM, "Joey Espinosa" >>> <[email protected] <mailto:[email protected]>> wrote: >>> >>> Do all your sites share the same Python, or are they in >>> different virtualenvs? >>> >>> -- >>> Joey "JoeLinux" Espinosa >>> Python Developer >>> http://about.me/joelinux >>> >>> On Apr 11, 2013 3:39 PM, "Roberto López López" >>> <[email protected] <mailto:[email protected]>> wrote: >>> >>> >>> Hi everyone, >>> >>> We are trying to deploy a django application on our >>> apache server >>> (mod_wsgi) following >>> >>> https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/modwsgi/ >>> We >>> have different virtualhosts defined as well in httpd.conf. >>> >>> We are now stuck, apache is throwing the following error: >>> >>> WSGIPythonPath cannot occur within <VirtualHost> section >>> >>> Can anyone give us any hint? Thank you very much! >>> >>> Roberto >>> >>> >>> -- >>> You received this message because you are subscribed to >>> the Google Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails >>> from it, send an email to >>> [email protected] >>> <mailto:django-users%[email protected]>. >>> To post to this group, send email to >>> [email protected] >>> <mailto:[email protected]>. >>> Visit this group at >>> http://groups.google.com/group/django-users?hl=en. >>> For more options, visit >>> https://groups.google.com/groups/opt_out. >>> >>> >>> -- >>> You received this message because you are subscribed to the >>> Google Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, >>> send an email to [email protected] >>> <mailto:[email protected]>. >>> To post to this group, send email to >>> [email protected] <mailto:[email protected]>. >>> Visit this group at >>> http://groups.google.com/group/django-users?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, >> send an email to [email protected] >> <mailto:django-users%[email protected]>. >> To post to this group, send email to [email protected] >> <mailto:[email protected]>. >> Visit this group at http://groups.google.com/group/django-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/django-users?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > -- > You received this message because you are subscribed to the Google > Groups "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Kind regards, Roberto López López System Developer Parallab, Uni Computing Høyteknologisenteret, Thormøhlensgate 55 N-5008 Bergen, Norway Tel: (+47) 555 84091 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

