<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Multi Trac / Django Hosting with mod_wsgi</title>
	<link>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/</link>
	<description>Armin Ronacher thinking</description>
	<pubDate>Mon, 07 Jul 2008 10:28:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: crashcrash07</title>
		<link>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-3417</link>
		<author>crashcrash07</author>
		<pubDate>Fri, 11 Apr 2008 06:34:21 +0000</pubDate>
		<guid>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-3417</guid>
		<description>From the beginning your blog was trash. But now it is great. I hope you gonna keep writing that way.</description>
		<content:encoded><![CDATA[<p>From the beginning your blog was trash. But now it is great. I hope you gonna keep writing that way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-411</link>
		<author>Paul</author>
		<pubDate>Thu, 13 Sep 2007 12:51:09 +0000</pubDate>
		<guid>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-411</guid>
		<description>Thanks for posting this. It inspired me to pursue the (much less ambitious) project of converting a small Trac-managed repo from Subversion to Mercurial. It only took a few minutes, all history was preserved via hgsvn, and it seems to be working great.</description>
		<content:encoded><![CDATA[<p>Thanks for posting this. It inspired me to pursue the (much less ambitious) project of converting a small Trac-managed repo from Subversion to Mercurial. It only took a few minutes, all history was preserved via hgsvn, and it seems to be working great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Armin Ronacher</title>
		<link>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-404</link>
		<author>Armin Ronacher</author>
		<pubDate>Wed, 12 Sep 2007 19:16:26 +0000</pubDate>
		<guid>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-404</guid>
		<description>The biggest advantage is certainly that it gracefully kills the processes after n requests. That ensures that if the application is leaky, it won't trash the server. And other big advantage is that you have one possible point of failure less because you don't need the python module that connects to FastCGI. You just have mod_wsgi which looks for the file you defined in the apache config and all the rest is controlled from the apache config.

No daemon process you have to kill yourself (the ruby guys from eins.de for example use fastcgi for their rails hosting and wrote a script that kill processes that life longer than 30 minutes etc.) and no daemon process you have to start yourself (although apache is able to manage your fastcgi processes).

Of course there are disadvantages too. You have the same problem like with any other mod_foobar module i guess. So don't let two applications in your apache link to different versions of the same library, don't expect that mod_wsgi works on lighttpd.

But nonetheless my favorite hosting solution for the moment.</description>
		<content:encoded><![CDATA[<p>The biggest advantage is certainly that it gracefully kills the processes after n requests. That ensures that if the application is leaky, it won&#8217;t trash the server. And other big advantage is that you have one possible point of failure less because you don&#8217;t need the python module that connects to FastCGI. You just have mod_wsgi which looks for the file you defined in the apache config and all the rest is controlled from the apache config.</p>
<p>No daemon process you have to kill yourself (the ruby guys from eins.de for example use fastcgi for their rails hosting and wrote a script that kill processes that life longer than 30 minutes etc.) and no daemon process you have to start yourself (although apache is able to manage your fastcgi processes).</p>
<p>Of course there are disadvantages too. You have the same problem like with any other mod_foobar module i guess. So don&#8217;t let two applications in your apache link to different versions of the same library, don&#8217;t expect that mod_wsgi works on lighttpd.</p>
<p>But nonetheless my favorite hosting solution for the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BrD</title>
		<link>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-403</link>
		<author>BrD</author>
		<pubDate>Wed, 12 Sep 2007 18:04:20 +0000</pubDate>
		<guid>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-403</guid>
		<description>Are there advantages with mod_wsgi in comparison with fastcgi+suexec?</description>
		<content:encoded><![CDATA[<p>Are there advantages with mod_wsgi in comparison with fastcgi+suexec?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Armin Ronacher</title>
		<link>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-399</link>
		<author>Armin Ronacher</author>
		<pubDate>Wed, 12 Sep 2007 10:35:47 +0000</pubDate>
		<guid>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-399</guid>
		<description>Right. One could check with RewriteCond /filename/ -f. Haven't thought about that and assemble full paths directly from the config. So many ways :-)</description>
		<content:encoded><![CDATA[<p>Right. One could check with RewriteCond /filename/ -f. Haven&#8217;t thought about that and assemble full paths directly from the config. So many ways :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Dumpleton</title>
		<link>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-396</link>
		<author>Graham Dumpleton</author>
		<pubDate>Wed, 12 Sep 2007 02:43:45 +0000</pubDate>
		<guid>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-396</guid>
		<description>BTW, you shouldn't need:

  WSGIPassAuthorization On

This is because Apache is handling authentication and not Trac. All Trac needs to see passed through is the REMOTE_USER variable which will still be passed even if WSGIPassAuthorization is not set to On.</description>
		<content:encoded><![CDATA[<p>BTW, you shouldn&#8217;t need:</p>
<p>  WSGIPassAuthorization On</p>
<p>This is because Apache is handling authentication and not Trac. All Trac needs to see passed through is the REMOTE_USER variable which will still be passed even if WSGIPassAuthorization is not set to On.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Dumpleton</title>
		<link>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-394</link>
		<author>Graham Dumpleton</author>
		<pubDate>Wed, 12 Sep 2007 01:24:34 +0000</pubDate>
		<guid>http://lucumr.pocoo.org/cogitations/2007/09/12/multi-trac-django-hosting-with-mod_wsgi/#comment-394</guid>
		<description>To use mod_rewrite to check for the actual existence of a Trac instance, see example right at the bottom of:

  http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac

This means you do not have to do it in the WSGI script file.

I don't have my mod_rewrite book with me at the moment so I can look up how to do it, but instead of returning Forbidden, you could even possibly have it redirect to some index page listing available sites. The rewrite rules can probably also be comprised into one group to avoid having to match the URL more than once by using [S] modifier to RewriteRule. When I can look up the book and work out how to clean it up, I'll fix the example.</description>
		<content:encoded><![CDATA[<p>To use mod_rewrite to check for the actual existence of a Trac instance, see example right at the bottom of:</p>
<p>  <a href="http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac" rel="nofollow">http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac</a></p>
<p>This means you do not have to do it in the WSGI script file.</p>
<p>I don&#8217;t have my mod_rewrite book with me at the moment so I can look up how to do it, but instead of returning Forbidden, you could even possibly have it redirect to some index page listing available sites. The rewrite rules can probably also be comprised into one group to avoid having to match the URL more than once by using [S] modifier to RewriteRule. When I can look up the book and work out how to clean it up, I&#8217;ll fix the example.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
