Sorry, just ignore what I said. I missed that in:

   WSGIScriptAlias /django-project1
/path/to/django/stuff/django-project1/apache/apache.wsgi
    WSGIScriptAlias /django-project2
/path/to/django/stuff/django-project2/apache/apache.wsgi
    WSGIScriptAlias /django-project3
/path/to/django/stuff/django-project3/apache/apache.wsgi
    WSGIScriptAlias /django-project4
/path/to/django/stuff/django-project4/apache/apache.wsgi

that they were actually for different Django instances. I thought they
were all point at the same and you were trying to map only certain sub
URLs of one site such that something else could still own the root URL
of the site.

Graham

On 10 December 2010 22:09, Haes <[email protected]> wrote:
> On Dec 10, 11:49 am, Haes <[email protected]> wrote:
>> On Dec 9, 10:33 pm, Graham Dumpleton <[email protected]>
>> wrote:
>>
>> > BTW, if all your Django instances are actually the same, you should
>> > really force them to run in same sub interpreter, otherwise you could
>> > be using up much more memory than you need based on your multiple
>> > WSGIScriptAlias directives. Ie., try setting 'WSGIApplicationGroup
>> > %{GLOBAL}'. This has nothing to do with your issue however.
>>
>> Would I need to specify 'WSGIApplicationGroup %{GLOBAL}' in both
>> virtualhosts (http, https) that have the same WSGIProcessGroup in
>> order to make sure they all run in the same sub interpreter? The https
>> virtualhost is basically the same as the http vhost (from my first
>> post) minus the WSGIDaemonProcess directive.
>
> Ok, I guess I missunderstood the WSGIApplicationGroup directive,
> somehow. When adding a WSGIApplicationGroup, those four different WSGI
> Django applications were more served more or less randomly, regardless
> what WSGIScriptAlias'ed URL was used to access them.
>
> --
> 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