Thank you for answering and helping me. I appreciate it immensely!

On Tuesday, January 27, 2015 at 9:21:04 PM UTC-5, Graham Dumpleton wrote:
>
>
> On 28/01/2015, at 9:06 AM, Joonas Lehtolahti <[email protected] 
> <javascript:>> wrote: 
>
> > On Tue, 27 Jan 2015 23:12:59 +0200, David Gleba <[email protected] 
> <javascript:>> wrote: 
> > 
> >> My mysite.wsgi: 
> >> 
> >>    import os, sys 
> >>>    sys.path.append('c:/p2/xampp/htdocs/django/mysite') 
> >>>    os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' 
> >>>    # works: https://www.pythonanywhere.com/forums/topic/1629/ # this 
> is 
> >>> for changes to django 1.7 # 2015-01-23_Fri_14.13-PM 
> >>>    from django.core.wsgi import get_wsgi_application 
> >>>    application = get_wsgi_application() 
> >> 
> >> 
> >> _____________ 
> >> 
> >> My django161c.wsgi 
> >> 
> >>    import os, sys 
> >>>    sys.path.append('c:/p2/xampp/htdocs/django/django161c') 
> >>>    os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' 
> >>>    from django.core.wsgi import get_wsgi_application 
> >>>    application = get_wsgi_application() 
> >> 
> >> 
> >> _____________ 
> >> 
> > 
> > A shot in the dark, but is it correct that the settings module is called 
> 'mysite.settings' in both cases, or should the second case use 
> django161c.settings instead? 
>
> Also, does the order you visit the sites after Apache has started matter. 
> If you always visit the new site first, does it still fail? If it does, 
> then something like the wrong Django settings file could well be an issue. 
>
> If it is only failing when visiting the new site second, then disable the 
> first site and see if the new site then works. 
>
> In other words, try and isolate it to a problem with the new site, or the 
> interaction between the new site and the existing one. 
>
> Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to