<?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: Git repository over HTTP WebDAV with nginx</title>
	<atom:link href="http://www.xiaoka.com/blog/2008/04/13/git-repository-over-http-webdav-with-nginx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiaoka.com/blog/2008/04/13/git-repository-over-http-webdav-with-nginx/</link>
	<description>Random Ramblings</description>
	<lastBuildDate>Fri, 26 Feb 2010 03:59:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: soloman</title>
		<link>http://www.xiaoka.com/blog/2008/04/13/git-repository-over-http-webdav-with-nginx/comment-page-1/#comment-10783</link>
		<dc:creator>soloman</dc:creator>
		<pubDate>Mon, 11 Jan 2010 04:23:43 +0000</pubDate>
		<guid isPermaLink="false">http://notes.xiaoka.com/?p=30#comment-10783</guid>
		<description>could you help me please. 

I configuration webdav on nginx/gentoo. But when I connect to my server, I got this error (I logging in with cyberduck from mac

PROPFIND /mydavserver HTTP/1.1[\r][\n]
Authorization: Basic d2F4Om9qa2l5ZA==[\r][\n]
Content-Type: text/xml; charset=utf-8[\r][\n]
User-Agent: Cyberduck/3.3b4 (5455)[\r][\n]
Host: 192.168.0.28:8088[\r][\n]
Content-Length: 207[\r][\n]
Depth: 0[\r][\n]
[\r][\n]
HTTP/1.1 405 Not Allowed[\r][\n]
HTTP/1.1 405 Not Allowed[\r][\n]
Server: nginx/0.8.29[\r][\n]
Date: Mon, 11 Jan 2010 04:19:11 GMT[\r][\n]
Content-Type: text/html[\r][\n]
Content-Length: 173[\r][\n]
Connection: keep-alive[\r][\n]
Keep-Alive: timeout=20[\r][\n]
[\r][\n]

How do i solve this problem ?

thanks.</description>
		<content:encoded><![CDATA[<p>could you help me please. </p>
<p>I configuration webdav on nginx/gentoo. But when I connect to my server, I got this error (I logging in with cyberduck from mac</p>
<p><span class="caps">PROPFIND </span>/mydavserver <span class="caps">HTTP</span>/1.1[\r][\n]<br />
Authorization: Basic d2F4Om9qa2l5ZA==[\r][\n]<br />
Content-Type: text/xml; charset=utf-8[\r][\n]<br />
User-Agent: Cyberduck/3.3b4 (5455)[\r][\n]<br />
Host: 192.168.0.28:8088[\r][\n]<br />
Content-Length: 207[\r][\n]<br />
Depth: 0[\r][\n]<br />
[\r][\n]<br />
<span class="caps">HTTP</span>/1.1 405 Not Allowed[\r][\n]<br />
<span class="caps">HTTP</span>/1.1 405 Not Allowed[\r][\n]<br />
Server: nginx/0.8.29[\r][\n]<br />
Date: Mon, 11 Jan 2010 04:19:11 <span class="caps">GMT</span>[\r][\n]<br />
Content-Type: text/html[\r][\n]<br />
Content-Length: 173[\r][\n]<br />
Connection: keep-alive[\r][\n]<br />
Keep-Alive: timeout=20[\r][\n]<br />
[\r][\n]</p>
<p>How do i solve this problem ?</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: New High Score &#187; Blog Archive &#187; Making WebDAV and NGINX Play Nice Together</title>
		<link>http://www.xiaoka.com/blog/2008/04/13/git-repository-over-http-webdav-with-nginx/comment-page-1/#comment-1159</link>
		<dc:creator>New High Score &#187; Blog Archive &#187; Making WebDAV and NGINX Play Nice Together</dc:creator>
		<pubDate>Fri, 20 Mar 2009 21:24:11 +0000</pubDate>
		<guid isPermaLink="false">http://notes.xiaoka.com/?p=30#comment-1159</guid>
		<description>[...] around the internet for similar things, I find that we&#8217;re not the only ones trying to do this, and came across a Perl CGI script that is/can be used in a similar fashion. Unfortunately, NGINX [...]</description>
		<content:encoded><![CDATA[<p>[...] around the internet for similar things, I find that we&#8217;re not the only ones trying to do this, and came across a Perl <span class="caps">CGI </span>script that is/can be used in a similar fashion. Unfortunately, <span class="caps">NGINX </span>[...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey Korkames</title>
		<link>http://www.xiaoka.com/blog/2008/04/13/git-repository-over-http-webdav-with-nginx/comment-page-1/#comment-657</link>
		<dc:creator>Joey Korkames</dc:creator>
		<pubDate>Mon, 29 Sep 2008 09:36:02 +0000</pubDate>
		<guid isPermaLink="false">http://notes.xiaoka.com/?p=30#comment-657</guid>
		<description>I gave up on fcgiPass (no good DAV fcgi scripts out there) and instead use proxy_pass to a pandav daemon:
http://github.com/gicmo/pandav/tree/master

For WinXP mounting, this patch needs to be applied:
In davserver.py replace line 254 with the following:
w.write(&#039;%s\n&#039; % urllib.quote(m.virname))

With the fixed pandav, _most_ everything seems to work right with Windows&#039; DAV client, and Nginx still handles GET/PUT if
 using (OPTIONS&#124;PROPFIND&#124;LOCK&#124;UNLOCK&#124;PROPPATCH&#124;HEAD&#124;MKCOL&#124;COPY&#124;MOVE)
 However, windows doesn&#039;t send requests about folders with the HTTP spec&#039;d trailing slash (&quot;/mydir&quot; vs. &quot;/mydir/&quot;) . Most items in the nginx dav code say to send 409 to DAV operations on
 folders if they are missing the slash. Normally, for a human using a web browser, the web server sends a redirect to fix the path to proper spec but if you try to do that to a broken dav client, you get a whole other type of error. If nginx can get a
little more flexible about folders (like apache&#039;s &quot;redirect-carefully&quot;), WinXP should be all set.

I have not tested pandav with svn/git/cadaver/nd ....</description>
		<content:encoded><![CDATA[<p>I gave up on fcgiPass (no good <span class="caps">DAV </span>fcgi scripts out there) and instead use proxy_pass to a pandav daemon:<br />
<a href="http://github.com/gicmo/pandav/tree/master" rel="nofollow">http://github.com/gicmo/pandav/tree/master</a></p>
<p>For WinXP mounting, this patch needs to be applied:<br />
In davserver.py replace line 254 with the following:<br />
w.write(&#8216;%s\n&#8217; % urllib.quote(m.virname))</p>
<p>With the fixed pandav, <em>most</em> everything seems to work right with Windows&#8217; <span class="caps">DAV </span>client, and Nginx still handles <span class="caps">GET</span>/PUT if<br />
 using (OPTIONS|PROPFIND|LOCK|UNLOCK|PROPPATCH|HEAD|MKCOL|COPY|MOVE)<br />
 However, windows doesn&#8217;t send requests about folders with the <span class="caps">HTTP </span>spec&#8217;d trailing slash (&#8220;/mydir&#8221; vs. &#8220;/mydir/&#8221;) . Most items in the nginx dav code say to send 409 to <span class="caps">DAV </span>operations on<br />
 folders if they are missing the slash. Normally, for a human using a web browser, the web server sends a redirect to fix the path to proper spec but if you try to do that to a broken dav client, you get a whole other type of error. If nginx can get a<br />
little more flexible about folders (like apache&#8217;s &#8220;redirect-carefully&#8221;), WinXP should be all set.</p>
<p>I have not tested pandav with svn/git/cadaver/nd &#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Ghigonis</title>
		<link>http://www.xiaoka.com/blog/2008/04/13/git-repository-over-http-webdav-with-nginx/comment-page-1/#comment-498</link>
		<dc:creator>Laurent Ghigonis</dc:creator>
		<pubDate>Sat, 30 Aug 2008 23:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://notes.xiaoka.com/?p=30#comment-498</guid>
		<description>Thanks for the infos. Do you have updates about handling webdav in nginx via a cgi script ? The nph-webdav cgi script doesnt seem to handle (yet) the options needed by subversion &lt;a href=&quot;http://search.cpan.org/~jlawrenc/HTTP-DAVServer-0.2/lib/HTTP/DAVServer.pm#MODULE_STATUS&quot; title=&quot;site officiel&quot; rel=&quot;nofollow&quot;&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the infos. Do you have updates about handling webdav in nginx via a cgi script ? The nph-webdav cgi script doesnt seem to handle (yet) the options needed by subversion <a href="http://search.cpan.org/~jlawrenc/HTTP-DAVServer-0.2/lib/HTTP/DAVServer.pm#MODULE_STATUS" title="site officiel" rel="nofollow"></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey Korkames</title>
		<link>http://www.xiaoka.com/blog/2008/04/13/git-repository-over-http-webdav-with-nginx/comment-page-1/#comment-333</link>
		<dc:creator>Joey Korkames</dc:creator>
		<pubDate>Thu, 05 Jun 2008 20:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://notes.xiaoka.com/?p=30#comment-333</guid>
		<description>So I fat fingered that pretty good ....

that if condition should be:
&lt;code&gt;
if ($request_method ~ ^(PROPFIND&#124;OPTIONS&#124;PROPPATCH&#124;LOCK&#124;UNLOCK)$ ){
... }
&lt;/code&gt;

Also, that webdev.cgi is actually pretty weak, it only does PROPFIND. I&#039;m gonna try libhttp-davserver-perl&#039;s nph-webdav and see if that does a bit more.</description>
		<content:encoded><![CDATA[<p>So I fat fingered that pretty good &#8230;.</p>
<p>that if condition should be:<br />
<code><br />
if ($request_method ~ ^(PROPFIND|OPTIONS|PROPPATCH|LOCK|UNLOCK)$ ){<br />
... }<br />
</code></p>
<p>Also, that webdev.cgi is actually pretty weak, it only does <span class="caps">PROPFIND.</span> I&#8217;m gonna try libhttp-davserver-perl&#8217;s nph-webdav and see if that does a bit more.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
