PythonInterpreter "uniquename"
for each vhost
On 4/28/06, tomass <
[EMAIL PROTECTED]> wrote:
Hi Folks,
Just wondering how I configure an apache virtual host to use a
different version of Django. I've installed the magic-removal branch
and have added the following to my virtual host config file, but I'm
still getting an error message which indicates that it's using the 0.91
version of Django.
<VirtualHost *>
ServerName example.com
DocumentRoot /var/www/html/example/html
<Location "/admin">
SetEnv PYTHONPATH /home/mthaddon/django/magic-removal
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE opscenter.settings
PythonDebug On
</Location>
<Location "/dashboard">
SetEnv PYTHONPATH /home/mthaddon/django/magic-removal
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE opscenter.settings
PythonDebug On
</Location>
</VirtualHost>
Thanks, Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

