Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install products.cmfsquidtool

How to install Products.CMFSquidTool

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install products.cmfsquidtool
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.5.1 Available View build log
Windows (64-bit)
1.5.1 Available View build log
Mac OS X (10.5+)
1.5.1 Available View build log
Linux (32-bit)
1.5.1 Available View build log
Linux (64-bit)
1.5.1 Available View build log
 
License
ZPL
Dependencies
Depended by
Lastest release
version 1.5.1 on Jan 5th, 2011

Introduction

It is a CMF Tool to purge a proxy's cache. It works with both Squid and Enfold Enterprise Proxy. It is accessible through the Zope Management Interface.

This product is covered by the Zope Public License.

Installation

1. a) for Squid proxy caches

Squid does not allow you to purge objects unless it is configured with access controls in squid.conf. First you must add something like:

System Message: WARNING/2 (<string>, line 19)

Literal block expected; none found.

acl PURGE method purge acl localhost src 127.0.0.1 http_access allow purge localhost http_access deny purge

The above only allows purge requests which come from the local host and denies all other purge requests.

Restart Squid after you did this reconfiguration.

b) for Enfold Enterprise Proxy (EEP) caches

If CMFSquidTool is running on the same machine as EEP, no extra configuration of EEP is necessary.

If CMFSquidTool is running on a different machine, you will need to add a line to your EEP configuration file. The EEP configuration file is located in the EEP application directory and is called 'eep.ini'.

Using a text editor, add a line like this to your eep.ini file, with the IP addresses of the machines you wish to be able to purge the cache:

System Message: WARNING/2 (<string>, line 42)

Literal block expected; none found.

remote_admin 127.0.0.1 123.45.67.89 1.2.3.4

2. Zope Product

Extract this tarball into your Zope Product folder and restart Zope when you did so.

Afterwards install the tool into your portal by using the quickinstaller tool.

Configuration

ZMI Setup

Enter the url to your portal root like it is accessable through squid, into the field inside the Squid Cache Urls tab of the portal_squid tool.

If you have Enfold Enterprise Server, a similar interface is available from the Plone Control Panel.

Original version by Simon Eisenmann <simon@struktur.de>.

Modifications for Enfold Enterprise Proxy by:

  • Neil Kandalgaonkar <neilk at enfoldsystems.com>
  • Robert Rottermann <robert at redcor.ch>
  • Sidnei da Silva <sidnei at enfoldsystems.com>

Changelog

1.5.1 - Feb 3, 2009
  • Don't invalidate FSObject. This avoids invalidation storm on

System Message: WARNING/2 (<string>, line 82)

Bullet list ends without a blank line; unexpected unindent.

edit after restart when loading skins from file system. [tesdal]

1.5 - June 19, 2008
  • Handle purge requests coming in during a transaction commit. This happens

System Message: WARNING/2 (<string>, line 89)

Bullet list ends without a blank line; unexpected unindent.

when collective.indexing processes its catalog queue during commit and CacheSetup generates purge requests for each indexed object. [wichert]

  • Use the built-in set type if available.

System Message: WARNING/2 (<string>, line 94)

Bullet list ends without a blank line; unexpected unindent.

[wichert]

  • Handle appending a URL to an empty queue correctly.

System Message: WARNING/2 (<string>, line 97)

Bullet list ends without a blank line; unexpected unindent.

[wichert]

1.4.1 - May 1, 2008
  • Added an Install.py for Plone 2.5 compatibility

System Message: WARNING/2 (<string>, line 104)

Bullet list ends without a blank line; unexpected unindent.

[newbery]

1.4 - April 16, 2008
  • Switch to using a GenericSetup profile for installation

System Message: WARNING/2 (<string>, line 111)

Bullet list ends without a blank line; unexpected unindent.

[wichert]

  • Repackaged as a python egg.

System Message: WARNING/2 (<string>, line 114)

Bullet list ends without a blank line; unexpected unindent.

[wichert]

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.