Bar what was uncovered in that prior thread, can't really add anything.

The basic problem seems to be that pywintypes has a C extension
component that hasn't been written properly so as to work in multiple
Python sub interpreters within a single process at the same time. At
least that is my assumption.

Since on Windows you don't have mod_wsgi daemon mode available, you
cant make use of its ability to separate apps by running them in
separate processes. On Windows you would be forced to use multiple
Apache instances which would be a pain in itself.

Graham

On 28 November 2011 22:07, Terry <[email protected]> wrote:
> I am using 32 bits Python2.7, pywin32-216.win32-py2.7.exe, and
> mod_wsgi in Apache2.2
>
> I have the following in my apache setting
>
> Listen 8080
> WSGIScriptAlias /site1 "C:/www/site1/site1app.wsgi"
> <Directory "C:/www/site1">
> Order allow,deny
> Allow from all
> </Directory>
>
> WSGIScriptAlias /site2 "C:/www/site2/site2app.wsgi"
> <Directory "C:/www/site2">
> Order allow,deny
> Allow from all
> </Directory>
>
> Everytime restarting Apache the first site works fine and the second
> site crash and throw
>
> AssertionError at /
> No exception supplied
> Exception Location: C:\Python27\lib\site-packages\win32\lib
> \pywintypes.py in
>
> I understand from 
> http://groups.google.com/group/modwsgi/browse_thread/thread/92764d08a8e7697e
> and 
> http://stackoverflow.com/questions/5969669/multiple-django-sites-on-apache-windows-mod-wsgi-problem-with-win32
> that I can use pywin32#212 or pywin32#210, however it means I have to
> use Python2.6 instead and I need to use Python2.7.
>
> Is there any way around this problem?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to