Zenoss (general Zope) behind an Apache proxy.

Zenoss’ web server lives on Zope. This doesn’t sit perfectly well behind apache because we’ve configured it to listen to localhost:8080; that is the address it will default to stashing in its response pages.

That means that the Zenoss login page contains a form that submits to localhost:8080 (ie, a server that isn’t running on the same machine as the web browser, usually) and you don’t get very far.

Zope (modern zope) comes with a configured object that lets your proxy supply alternative server host and port settings. The following sufficies in /etc/httpd/conf.d/zenoss-proxy.conf:

Order deny,allow
Deny from all
Allow from 137.222.12.
Allow from 127.0.0.1
ProxyPass http://127.0.0.1:8080/VirtualHostBase/http/hita.cse.bris.ac.uk:80/VirtualHostRoot/

Tags: , , , ,

One Response to “Zenoss (general Zope) behind an Apache proxy.”

  1. Apache Zenoss Reverse Proxy « Core Systems, Inc. Says:

    […] go out to¬†http://jang.blogs.ilrt.org/2009/05/28/zenoss-general-zope-behind-an-apache-proxy/ for the actual URL to redirect […]

Leave a Reply

You must be logged in to post a comment.


css.php