<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Nginx &amp; Django on Webfaction &#8211; Part 2</title>
	<atom:link href="http://fightingrabbits.com/archives/208/feed" rel="self" type="application/rss+xml" />
	<link>http://fightingrabbits.com/archives/208</link>
	<description>and herding cats...</description>
	<lastBuildDate>Fri, 18 Nov 2011 09:28:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Erik Mulberry</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-35666</link>
		<dc:creator>Erik Mulberry</dc:creator>
		<pubDate>Fri, 18 Nov 2011 09:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-35666</guid>
		<description>Wow that was unusual. I just wrote an exceedingly long comment but after I clicked submit my comment did not show up. Grrrr... nicely I&#039;m not writing all that above again. Irrespective, just wanted to say excellent weblog!</description>
		<content:encoded><![CDATA[<p>Wow that was unusual. I just wrote an exceedingly long comment but after I clicked submit my comment did not show up. Grrrr&#8230; nicely I&#8217;m not writing all that above again. Irrespective, just wanted to say excellent weblog!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashley</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-31557</link>
		<dc:creator>ashley</dc:creator>
		<pubDate>Thu, 06 Oct 2011 15:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-31557</guid>
		<description>Thanks for the tutorial. Together with david&#039;s i wrote a nice fabric script that automates django/gunicorn deployments on webfaction :) https://github.com/ashwoods/webfaction-django-fabfile</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial. Together with david&#8217;s i wrote a nice fabric script that automates django/gunicorn deployments on webfaction :) <a href="https://github.com/ashwoods/webfaction-django-fabfile" rel="nofollow">https://github.com/ashwoods/webfaction-django-fabfile</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darron Reveles</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-15629</link>
		<dc:creator>Darron Reveles</dc:creator>
		<pubDate>Mon, 28 Mar 2011 07:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-15629</guid>
		<description>would you please elaborate on this, I would like a little more info, thanks</description>
		<content:encoded><![CDATA[<p>would you please elaborate on this, I would like a little more info, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Orion Vianna</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-11205</link>
		<dc:creator>Orion Vianna</dc:creator>
		<pubDate>Tue, 04 Jan 2011 04:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-11205</guid>
		<description>You can also force the web interface to use HTTPS
by adding 
env[&#039;HTTPS&#039;] = env.get(&#039;HTTP_REFERER&#039;,&#039;&#039;).startswith(&#039;https&#039;) and &#039;ON&#039;

to cgi_environment() method in file http.py at line 322

Thanks to Rob Guttman for this :o)
http://www.mail-archive.com/supervisor-users@lists.supervisord.org/msg00564.html</description>
		<content:encoded><![CDATA[<p>You can also force the web interface to use HTTPS<br />
by adding<br />
env['HTTPS'] = env.get(&#8216;HTTP_REFERER&#8217;,&#8221;).startswith(&#8216;https&#8217;) and &#8216;ON&#8217;</p>
<p>to cgi_environment() method in file http.py at line 322</p>
<p>Thanks to Rob Guttman for this :o)<br />
<a href="http://www.mail-archive.com/supervisor-users@lists.supervisord.org/msg00564.html" rel="nofollow">http://www.mail-archive.com/supervisor-users@lists.supervisord.org/msg00564.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cesar Canassa</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-8442</link>
		<dc:creator>Cesar Canassa</dc:creator>
		<pubDate>Sat, 06 Nov 2010 02:46:48 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-8442</guid>
		<description>Hey, thanks for the tutorial. I just installed a Flask + Nginx application in Webfaction using your approach. Worked very well.

As Hernan said, the Crontab part is missing the &#039;start&#039;:

*/10 * * * * cd ~/; ./start_supervisor.sh start</description>
		<content:encoded><![CDATA[<p>Hey, thanks for the tutorial. I just installed a Flask + Nginx application in Webfaction using your approach. Worked very well.</p>
<p>As Hernan said, the Crontab part is missing the &#8216;start&#8217;:</p>
<p>*/10 * * * * cd ~/; ./start_supervisor.sh start</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: panchicore</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-6753</link>
		<dc:creator>panchicore</dc:creator>
		<pubDate>Thu, 23 Sep 2010 02:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-6753</guid>
		<description>Hi, nice post!.

where is &quot;our nginx.conf&quot; ?</description>
		<content:encoded><![CDATA[<p>Hi, nice post!.</p>
<p>where is &#8220;our nginx.conf&#8221; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JONES</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-4262</link>
		<dc:creator>JONES</dc:creator>
		<pubDate>Mon, 26 Apr 2010 11:01:07 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-4262</guid>
		<description>Nice approach. Thank you for your insight.</description>
		<content:encoded><![CDATA[<p>Nice approach. Thank you for your insight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Baker</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-3175</link>
		<dc:creator>Andy Baker</dc:creator>
		<pubDate>Mon, 15 Feb 2010 18:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-3175</guid>
		<description>Your easy_install supervisor line won&#039;t necessarily put supervisor into the correct directory as it specify the same lib and bin locations as you did in part 1 of the tutorial.</description>
		<content:encoded><![CDATA[<p>Your easy_install supervisor line won&#8217;t necessarily put supervisor into the correct directory as it specify the same lib and bin locations as you did in part 1 of the tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Cooper</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-3050</link>
		<dc:creator>Richard Cooper</dc:creator>
		<pubDate>Mon, 08 Feb 2010 20:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-3050</guid>
		<description>Hi Andy,
    I was just looking at this today as I&#039;m working on a script to enable this to be setup via the Webfaction control panel using their API. I&#039;ll update the post with this in a day or so and give you the credit :)

Thanks for your interest.
Richard.</description>
		<content:encoded><![CDATA[<p>Hi Andy,<br />
    I was just looking at this today as I&#8217;m working on a script to enable this to be setup via the Webfaction control panel using their API. I&#8217;ll update the post with this in a day or so and give you the credit :)</p>
<p>Thanks for your interest.<br />
Richard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Baker</title>
		<link>http://fightingrabbits.com/archives/208/comment-page-1#comment-3048</link>
		<dc:creator>Andy Baker</dc:creator>
		<pubDate>Mon, 08 Feb 2010 17:49:51 +0000</pubDate>
		<guid isPermaLink="false">http://fightingrabbits.com/?p=208#comment-3048</guid>
		<description>Yep. That was it. I&#039;ve still got the bad habits picked up from the Django tutorial and all my projects are called &#039;myproject&#039; ;-)

Assuming a project called &#039;myproject&#039; then as well as:
sys.path.append(&#039;/home//webapps//myproject/&#039;)

if you add:
sys.path.append(&#039;/home//webapps//&#039;)

then that you can have imports like either:
import myproject.something
or just:
import something

and the urls line can stay as:
ROOT_URLCONF = ‘myproject.urls’

It&#039;s would be better to fix my code so that I avoided explicitly referencing &#039;myproject&#039; but quite a few tutorials do this and so does manage.py&#039;s

It&#039;s better not to do either of these things but I&#039;ve fallen into bad habits and I&#039;m sure others have too!</description>
		<content:encoded><![CDATA[<p>Yep. That was it. I&#8217;ve still got the bad habits picked up from the Django tutorial and all my projects are called &#8216;myproject&#8217; ;-)</p>
<p>Assuming a project called &#8216;myproject&#8217; then as well as:<br />
sys.path.append(&#8216;/home//webapps//myproject/&#8217;)</p>
<p>if you add:<br />
sys.path.append(&#8216;/home//webapps//&#8217;)</p>
<p>then that you can have imports like either:<br />
import myproject.something<br />
or just:<br />
import something</p>
<p>and the urls line can stay as:<br />
ROOT_URLCONF = ‘myproject.urls’</p>
<p>It&#8217;s would be better to fix my code so that I avoided explicitly referencing &#8216;myproject&#8217; but quite a few tutorials do this and so does manage.py&#8217;s</p>
<p>It&#8217;s better not to do either of these things but I&#8217;ve fallen into bad habits and I&#8217;m sure others have too!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Served from: www.fightingrabbits.com @ 2012-02-06 07:20:39 by W3 Total Cache -->
