On 20/03/2015, at 9:06 PM, Shilpa Gaikwad <[email protected]> wrote:

> Hi,
> 
>    I want to serve multiple django sites from single virtual host. I am using 
> Apache2.4, mod_wsgi3.5 and windows OS. When I browse sites, first site works 
> but 2nd site does not work. Also I cannot use WSGIProcessDaemon as I am using 
> windows. Please let me know if there is any alternate solution for this.

Define 'does not work'? Do you get an error in the browser, in the Apache error 
log?

What is the mod_wsgi configuration you are using in the Apache configuration?

What do you have in the wsgi.py file that Django generated for you and which 
you would have WSGIScriptAlias referring to?

Also ensure you read:

    http://blog.dscpl.com.au/2012/10/requests-running-in-wrong-django.html

The generated Django wsgi.py is broken by default when it comes to trying to 
serve multiple Django applications in sub interpreters of the same process. You 
need to change how DJANGO_SETTINGS_MODULE is configured.

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