Generally I run multiple multiple django instances on different ports
- however the same should work within a location or folder (I think).
Just make sure the SetEnv reflects the other application:
SetEnv DJANGO_SETTINGS_MODULE myapp.settings
SetEnv DJANGO_SETTINGS_MODULE myapp2.settings
Sample for multiple ports:
<VirtualHost 192.168.1.1:80>
ServerAdmin [EMAIL PROTECTED]
ServerName myapp.com
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE myapp.settings
PythonDebug On
</VirtualHost>
<VirtualHost 192.168.1.1:81>
ServerAdmin [EMAIL PROTECTED]
ServerName myapp2.com
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE myapp2.settings
PythonDebug On
</VirtualHost>
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---