The directive is this: <Location "/ProductInventory"> SetHandler python-program PythonHandler django.core.handlers.modpython PythonPath "['/var/www/vhosts/hftvnetwork.com/django-projects'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE DSN.settings PythonDebug On PythonInterpreter UniqueID </Location>
I will check the "NameVirtualHost" now. On Jul 3, 9:08 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Jul 4, 11:03 am, joshuajonah <[EMAIL PROTECTED]> wrote: > > > > > I have a Media Temple DV server, it has 7 sites hosted on it, 5 of > > them are paying clients. > > > The vhost file structure is like this: > > > /var/www/vhosts/whatever.com/ > > /var/www/vhosts/whatever2.com/ > > /var/www/vhosts/whatever3.com/ > > > There are vhost.conf files in a "conf" directory (e.g: /var/www/vhosts/ > > whatever.com/conf/vhost.conf), these are for domain specific > > directives, like say... a python handler and path;) > > > Problem: > > When I change one in a domain, it is affecting another domain using > > django hosted on the server. > > Exactly what change are you making? > > > I called MediaTemple and they advised me that there is no way this > > could happen. It is likely a problem with the fact that there is a > > single Django or Mod_Python install on the server. > > > Has anybody dealt with this or know what is going wrong? > > Is NameVirtualHost directive in Apache set. When using VirtualHost, if > not set then it causes problems for mod_python with strange merging of > sites. > > Also, are you playing with PythonInterpreter directive at all either > within VirtualHost container or outside at global scope? > > Graham --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---