I am having a terrible time getting multiple vhosts running Django up and running.
I have two sites configured just like the configuration below (except with different ServerName directives and different DJANGO_SETTINGS_MODULE variables. The trouble is that Django's cache is confusing the two sites and is saying that one table from a project doesn't exist in the other project's db when I try to access it! I tried setting different PythonInterpreters, but it had no effect. It seems if I don't use different PythonPath directives for my sites, the cache gets confused. But if I do that, the settings don't work correctly and the site won't load. What am I doing wrong? My site's config looks like this: <VirtualHost *> ServerName sitename.com ServerAdmin [EMAIL PROTECTED] DocumentRoot /djangosites/project/ <Location "/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE project.settings PythonPath "['/djangosites/'] + sys.path" PythonDebug Off </Location> <Location "/images"> SetHandler None </Location> <Location "/js"> SetHandler None </Location> <Location "/flash"> SetHandler None </Location> <Location "/admin-media"> SetHandler None </Location> ErrorLog /var/log/apache2/sitename.com-error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/sitename.com-access.log combined ServerSignature Off </VirtualHost> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---