Hello Graham,

thank you very much for your detailed response. I find it very helpful.

> FWIW, you will find that Pylons folks would tend to recommend you run
> each with a separate Paste server instance behind mod_proxy of your
> preferred web server.
I know the concept as it is mentioned alot in the docs, but I never understood 
why I should use one webserver to contact another to serve my documents. But I 
am not a pro so I probably do not know the full story behind this. 
Nevertheless I intend to use only apache to serve my python apps.

> > Now I wonder if there are any problems concerning this setup. I would
> > define several WSGIScriptAlias'es for different urls (/wms, or /ajax
> > and /)
>
> No there isn't, however, if that is all you do then likely you will
> end up running it in embedded mode which would not be recommended,
> specially if you are still running mod_php and are therefore using
> prefork MPM with Apache.

Yup, I'll need to use prefork because of an php module which requires this.

> You would be better off using mod_wsgi daemon mode and perhaps go as
> far as have a separate daemon process group for each application as
> well as force the application to run in the main interpreter of their
> respective processes to avoid issues with third party C extension
> modules for Python that don't work properly with sub interpreters.

I assume, you are refering to WSGIDaemonProcess and WSGIProcessGroup 
directives? I intended to use them already.

> As long as the WSGIScriptAlias directives are in correct order such
> that sub URL mounted applications come first, ie., before that for
> '/', no problem with mounting more than one application through
> mod_wsgi.

Thanks for the hint with the order. I wasn't aware of that ...


Many thanks

Frank



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to