Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8085177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:02:01+00:00 2026-06-05T18:02:01+00:00

I have configured Plone with the following buildout (via http://build.pythonpackages.com/buildout/plone/4.2.x ): [buildout] allow-hosts =

  • 0

I have configured Plone with the following buildout (via http://build.pythonpackages.com/buildout/plone/4.2.x):

[buildout]
allow-hosts =
    *.plone.org
    *.python.org
extensions = buildout.bootstrap
extends = http://dist.plone.org/release/4.2b1/versions.cfg
find-links = http://dist.plone.org/thirdparty/elementtree-1.2.7-20070827-preview.zip
parts =
    mod-wsgi
    plone
    plone-mod-wsgi
    plone-paste
versions = versions

[mod-wsgi]
recipe = collective.recipe.modwsgi
eggs = ${plone:eggs}
config-file = ${buildout:directory}/plone-mod-wsgi.ini

[plone]
recipe = plone.recipe.zope2instance
eggs =
    PasteScript
    Pillow
    Plone
    WebError
    repoze.retry
    repoze.tm2
    repoze.vhm
products =
user = admin:admin
scripts = paster

[plone-mod-wsgi]
recipe = collective.recipe.template
url = http://build.pythonpackages.com/buildout/plone/plone-mod-wsgi.ini.in
output = ${buildout:directory}/plone-mod-wsgi.ini

[plone-paste]
recipe = collective.recipe.template
url = http://build.pythonpackages.com/buildout/plone/plone-paste.ini.in
output = ${buildout:directory}/plone-paste.ini

[versions]
distribute = 0.6.24
zc.buildout = 1.5.2
Zope2 = 2.13.11

And Apache with the following config:

<VirtualHost *:80>
    …

    # Use only 1 Python sub-interpreter.  Multiple sub-interpreters
    # play badly with C extensions.
    WSGIApplicationGroup %{GLOBAL}
    WSGIPassAuthorization On
    WSGIDaemonProcess plone user=aclark group=staff processes=1 \
       threads=4 \
       python-path=/srv/aclark.net/eggs
    WSGIScriptAlias / /srv/aclark.net/parts/mod-wsgi/wsgi

    <Directory /srv/aclark.net>
      WSGIProcessGroup plone
      Order allow,deny
      Allow from all
      SetEnv HTTP_X_VHM_HOST http://aclark.net
      SetEnv HTTP_X_VHM_ROOT /Plone
    </Directory>

</VirtualHost>

My “declarative” WSGI configuration (called by /srv/aclark.net/parts/mod-wsgi/wsgi) looks like this:

[app:plone]
use = egg:Zope2#main
zope_conf = /srv/aclark.net/parts/plone/etc/zope.conf

[pipeline:main]
pipeline =
    egg:repoze.retry#retry
    egg:repoze.tm2#tm
    egg:repoze.vhm#vhm_xheaders
    plone

# Begin logging configuration

[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = WARN
handlers = console

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s

# End logging configuration

This all partially works, by loading http://aclark.net/Plone when you ask for http://aclark.net. However Zope2 is still generating URLs that begin with http://aclark.net/Plone.

Am I missing something? Or is this a Zope2 bug (not doing the right thing when conifgured w/repoze.vhm)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T18:02:03+00:00Added an answer on June 5, 2026 at 6:02 pm

    Full WSGI support for Zope2 is still a work in progress. See:

    • https://mail.zope.org/pipermail/zope-dev/2012-January/043930.html
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have configured in following way that spring MVC app using Spring 3.1.1.RELEASE web.xml
I have configured Reporting Services to allow users to use Report Builder application. Users
I want to override a method in the package com.android.phone.PhoneApp . I have configured
I have configured the maven-sql plugin to execute the insert and delete scripts for
I have configured Mod Security on Apache 2.2.21 and i have successfully configured Mod
I have configured the Deployer (.NET Website) for SmartTarget. When I try to publish
I have configured Service Broker communication between two SQL Server 2008 instances using Windows
I have configured the maven pluggin for liquibase as specified in maven configuration .
I have configured a set of interface implementations with EntLib. unity block. The constructor
I have configured my application to use the Service configuration Local in the development

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.