<?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/"
	>

<channel>
	<title>hweia.ru &#187; TWiki</title>
	<atom:link href="http://hweia.ru/tag/twiki/feed/" rel="self" type="application/rss+xml" />
	<link>http://hweia.ru</link>
	<description></description>
	<lastBuildDate>Tue, 24 Nov 2009 08:08:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>TWiki на bhost + nginx + HTTP-заголовки</title>
		<link>http://hweia.ru/2008/07/twiki-bhost-nginx-and-http-headers/</link>
		<comments>http://hweia.ru/2008/07/twiki-bhost-nginx-and-http-headers/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 17:43:25 +0000</pubDate>
		<dc:creator>Анна</dc:creator>
				<category><![CDATA[Нет рубрики]]></category>
		<category><![CDATA[TWiki]]></category>

		<guid isPermaLink="false">http://hweia.ru/?p=66</guid>
		<description><![CDATA[Уф, с третьей попытки развернула на сайте TWiki. Давненько я ничего не ставила без прав root или хотя бы sudo   
Мешалась треклятая 502 Bad Gateway как только пора было переходить от настройки непосредственно к использованию TWiki.
Сначала я уж думала, что у меня от жары совсем мозг расплавился. Потом &#8212; что, может быть, пора заворачиваться [...]]]></description>
			<content:encoded><![CDATA[<p>Уф, с третьей попытки развернула на сайте TWiki. Давненько я ничего не ставила без прав root или хотя бы sudo  <img src='http://hweia.ru/wp-includes/images/smilies/smilie_tired.png' alt=':tired:' class='wp-smiley' /> </p>
<p>Мешалась треклятая 502 Bad Gateway как только пора было переходить от настройки непосредственно к использованию TWiki.<br />
Сначала я уж думала, что у меня от жары совсем мозг расплавился. Потом &mdash; что, может быть, пора заворачиваться в простыню и ползть в интернат для альтернативно одаренных. В логах нет ни черта, а проблемка-то налицо! Но, как оказалось, дело было вот в этой штуке:</p>
<p><code>/lib/TWiki.pm line 606</code>:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #0000ff;">$hdr</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">s/\n$/Content-Length: $len\n\n/s</span> <span style="color: #b1b100;">if</span> <span style="color: #0000ff;">$len</span><span style="color: #339933;">;</span></pre></div></div>

<p>*№?;:%(?:)) !!!  <img src='http://hweia.ru/wp-includes/images/smilies/smilie_mad.png' alt=':mad:' class='wp-smiley' /><br />
корректный вариант:</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #0000ff;">$hdr</span> <span style="color: #339933;">=~</span> <span style="color: #009966; font-style: italic;">s/^(.*?)$/Content-Length: $len\n$1/s</span> <span style="color: #b1b100;">if</span> <span style="color: #0000ff;">$len</span><span style="color: #339933;">;</span></pre></div></div>

<p>Cпасибо Илье Данилову за <a title="Технические посиделки: TWiki" href="http://technoposidelki.blogspot.com/2008/01/twiki.html" class="external-link">наводку</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hweia.ru/2008/07/twiki-bhost-nginx-and-http-headers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
