Where can I find Plone 4.1 wsgi configuration examples?

While Zope 2.13 has built-in wsgi support, I have not yet been able to find a documentation / deployment tutorial / article / blog.

Can someone point out / post a working example?

+7
source share
2 answers

Try the following:

The line specified in this document ( http://build.pythonpackages.com/buildout/plone/4.2.x ) is as follows:

[buildout] allow-hosts = *.plone.org *.python.org extensions = buildout.bootstrap mr.developer extends = http://dist.plone.org/release/4.2b1/versions.cfg extends-cache = . find-links = http://dist.plone.org/thirdparty/elementtree-1.2.7-20070827-preview.zip parts = mod-wsgi plone wsgi-conf versions = versions [plone] recipe = plone.recipe.zope2instance eggs = PasteScript Pillow Plone Products.PloneHotfix20110928 WebError repoze.retry repoze.tm2 repoze.vhm products = user = admin:admin scripts = paster [versions] distribute = 0.6.24 # Error: Setup script exited with error: src/config.h: No such file or directory # Error: Couldn't install: pycrypto 2.4 pycrypto = 2.3 zc.buildout = 1.5.2 [mod-wsgi] recipe = collective.recipe.modwsgi eggs = ${plone:eggs} config-file = plone.ini [wsgi-conf] recipe = collective.recipe.template url = http://build.pythonpackages.com/buildout/plone/plone.ini.in output = plone.ini [versions] Zope2 = 2.13.11 

Please note that newer Zope2 is used than Plone 4.2 can be sent. This is because release 2.13.11 adds support for WSGI without requiring repoze.who for authentication (which greatly increases the "usability factor").

+4
source

The reason is that while Zope 2 WSGI support is the starting point, there are still a lot of rough edges, and as a result, WSGI is not yet an officially supported or recommended implementation option. However, you may find http://smith-li.com/wordpress/2011/05/31/plone-4-1-with-apache-and-mod_wsgi-sorta/ useful as a starting point.

+5
source

All Articles