I have kinda the same problem as of today. It just seems to not use use the settings file I want. Is there something wrong with having to exact same virtualhosts that just differ in the specified django settings?
On Jan 30, 2:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello Django Users, > > I'm working on a application that evolves over time. in order to show > both applications we set up virtual hosts in the httpd.conf in the > following way. > > <VirtualHost *:8000> > ServerName bioinf-dev.erasmusmc.nl > DocumentRoot "/home/bioinf/richard/public_html/iqc" > ErrorLog logs/iqc_error_log > CustomLog logs/iqc_access_log combined > > <Location "/"> > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE iqc.settings > PythonDebug On > PythonPath "['/home/bioinf/richard/public_html','/home/bioinf/ > richard/public_html/iqc']+sys.path" > </Location> > </VirtualHost> > > <VirtualHost *:8001> > ServerName bioinf-dev.erasmusmc.nl > DocumentRoot "/home/bioinf/richard/public_html/idap" > ErrorLog logs/idap_error_log > CustomLog logs/idap_access_log combined > > <Location "/"> > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE idap.settings > PythonDebug On > PythonPath "['/home/bioinf/richard/public_html','/home/bioinf/ > richard/public_html/idap']+sys.path" > </Location> > </VirtualHost> > > The problem i'm experiencing is that the templates will mix up. > What happens is that when i go to bioinf-dev.erasmusmc.nl:8000/ it > some occasions it will show the templates that are rendered in the > application that is put under 8001. I've tried several things along > with the system administrator but he thought it must be something in > the python code that is mixing up. > > Did we specified the Httpd.conf in the wrong way ? > Is there someone that experienced similar problems and know how to > solve this ? > > you help would be greatly appreciated, > > Regards, > > Richard Mendes --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---