2009/2/16 kevin <[email protected]>:
>
> I'm taking a look at mod_wsgi vs fastcgi to run django apps.  I'm
> using nginx to serve up my platter of steaming static content.  I want
> to run the absolute minimum apache config to do this.  What would that
> be?

Work through the available documentation, specifically:

  http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide

In particular, you would best off using daemon mode as explained in:

  
http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegation_To_Daemon_Process

I say to use daemon mode because if you are of the mindset that you
want to do as little Apache configuration as possible, then if you use
embedded mode you are unlikely to do the necessary tuning of Apache
MPM settings to get it all to work properly for your specific
application.

Also recommend using worker MPM. Do not attempt to run PHP in the same
Apache server.

As to the particular WSGI application/framework you want to run and
how to set it up, see other documentation on the site for various
guides:

  http://code.google.com/p/modwsgi/wiki/InstallationInstructions

If you are running HTTPS on nginx for some or all of your Python site,
come back to the list as the special setup required to ensure fact
that HTTPS is used is passed through to WSGI application isn't
doumented on wiki but has been discussed here before so can point you
at where to look.

Graham

--~--~---------~--~----~------------~-------~--~----~
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