On Mon, 2008-08-25 at 23:45 -0700, mario wrote: [...] > And here's how I defined the apps in Apache2 (running with lastest > Django SVN). > > <Location "/app1/"> > SetHandler python-program > PythonPath "['/var/www/myapps'] + sys.path" > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE app_1.settings > PythonDebug on > </Location> > > <Location "/app2/"> > SetHandler python-program > PythonPath "['/var/www/myapps'] + sys.path" > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE app_2.settings > PythonDebug on > </Location>
You need to use the PythonInterpreter directive when you have more than one site installed. See http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#multiple-django-installations-on-the-same-apache for details. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---