<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>PyYou Weblog &#187; recipe squid apache zope</title>
	<atom:link href="http://pyyou.wordpress.com/tag/recipe-squid-apache-zope/feed/" rel="self" type="application/rss+xml" />
	<link>http://pyyou.wordpress.com</link>
	<description>Those who do not study Zope, are condemmed to reinvent it</description>
	<lastBuildDate>Wed, 09 Dec 2009 11:39:54 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='pyyou.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/af2a28b78009ae3c9afc4cb204137822?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>PyYou Weblog &#187; recipe squid apache zope</title>
		<link>http://pyyou.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://pyyou.wordpress.com/osd.xml" title="PyYou Weblog" />
		<item>
		<title>About iw.recipe.squid</title>
		<link>http://pyyou.wordpress.com/2008/02/22/bonjour-tout-le-monde/</link>
		<comments>http://pyyou.wordpress.com/2008/02/22/bonjour-tout-le-monde/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 07:22:31 +0000</pubDate>
		<dc:creator>yboussard</dc:creator>
				<category><![CDATA[Non classé]]></category>
		<category><![CDATA[recipe]]></category>
		<category><![CDATA[recipe squid apache zope]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I&#8217;m pleased to announce a new release of  iw.recipe.squid. It&#8217;s aimed to configure easily an squid proxy server with zope. It&#8217;s does the same things of squid generator in cache fu product which generate some config for squid in order to work with zope. I was really inspired of this. But it work&#8217;s with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pyyou.wordpress.com&blog=2943558&post=1&subd=pyyou&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m pleased to announce a new release of <a href="http://pypi.python.org/pypi/iw.recipe.squid/0.3" target="_blank"> iw.recipe.squid</a>. It&#8217;s aimed to configure easily an squid proxy server with zope. It&#8217;s does the same things of squid generator in cache fu product which generate some config for squid in order to work with zope. I was really inspired of this. But it work&#8217;s with buildout with some difference. So what&#8217;s else ? How configure squid with zope and apache ? Really simple (I hope)</p>
<h3>1- install a squid and an apache server</h3>
<h3>2- you create an buildout.cfg with some config</h3>
<p>[buildout]<br />
parts = squid</p>
<p>[squid]<br />
recipe=iw.recipe.squid<br />
squid_accelerated_hosts =<br />
www.mysite.com localhost:8080/myplone</p>
<p><b>www.mysite.com</b> is the dns host name of your plone site<br />
<b> myplone</b> is the plone instance name of your plone<br />
<b> localhost</b> is the host name of zope server location<br />
<b> 8080</b> is the port of your zope server</p>
<h3>3- you launch buildout</h3>
<p>&gt; buildout -c buildout.cfg</p>
<p>this create several directory  with some config in their.<br />
in parts/squid/etc you have all config to work with squid<br />
in parts/squid/apache you have all config to work with apache server<br />
in parts/squid/log you have all log file for apache virtual host and squid acces log<br />
in bin you have a squid controler script witch  work with  parts/squid/etc/squid.conf specific config</p>
<h3>5 &#8211; finally</h3>
<p>You must create a cache for squid</p>
<p>&gt; bin/squidctl createswap</p>
<p>And launch your squid</p>
<p>&gt; bin/squidctl start</p>
<p>After make symbolic link in your apache configuration location ie:</p>
<p>ln -s &lt;absolute path to parts/squid/apache/*&gt; &lt;absolute path to apache virtual host&gt;</p>
<p>And now restart apache and you have an apache/squid/zope architecture working (I hope).</p>
<h2>The future</h2>
<p>I&#8217;m planed to give more flexibility to the recipe.</p>
<p>Imagine you have 10 plone site in your zope server and you want to configure their with iw.recipe.squid . You must declare an dns name for all your plone site. Not always easy !!<br />
So the next step is the capibility to iw.recipe.squid to deal with this use case.</p>
<h4>The config MUST change to this way :</h4>
<p>www.mysite.com/ localhost:8080/myplone<br />
www.mysite.com/site2 localhost:8080/myplone2<br />
www.mysite.com/site/myplone localhost:8080/myplone3</p>
<p>so when I take a browser and I type http://www.mysite.com/site2 I go to myplone2 instance without declare a specific dns name for it.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/pyyou.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/pyyou.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pyyou.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pyyou.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pyyou.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pyyou.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pyyou.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pyyou.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pyyou.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pyyou.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pyyou.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pyyou.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pyyou.wordpress.com&blog=2943558&post=1&subd=pyyou&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pyyou.wordpress.com/2008/02/22/bonjour-tout-le-monde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ffd48b7e04f53482581ecc5ab0707fdf?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yboussard</media:title>
		</media:content>
	</item>
	</channel>
</rss>