<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=WebDAV_on_Apache_2.x</id>
		<title>WebDAV on Apache 2.x - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=WebDAV_on_Apache_2.x"/>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;action=history"/>
		<updated>2026-05-04T13:38:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=4727&amp;oldid=prev</id>
		<title>Dave at 02:43, 25 July 2005</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=4727&amp;oldid=prev"/>
				<updated>2005-07-25T02:43:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:43, 25 July 2005&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Common Tasks]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Common Tasks]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:FreeBSD for Servers]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:2970:newid:4727 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=2970&amp;oldid=prev</id>
		<title>Dave at 17:03, 27 April 2005</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=2970&amp;oldid=prev"/>
				<updated>2005-04-27T17:03:21Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:03, 27 April 2005&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ph34r# '''apachectl restart'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ph34r# '''apachectl restart'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;And there we have it; we now have WebDAV running, turned on at /WebDAV/, with everything we need to allow a user named dav-user with whatever password we specified to read and write inside that directory via DAV functionality.&amp;#160; One of the more common current uses for this is to enable calendar sharing using iCal, Sunbird, or Mozilla Calendar.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;And there we have it; we now have WebDAV running, turned on at /WebDAV/, with everything we need to allow a user named dav-user with whatever password we specified to read and write inside that directory via DAV functionality.&amp;#160; One of the more common current uses for this is to enable calendar sharing using iCal, Sunbird, or Mozilla Calendar. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(see http://www.tnpi.biz/computing/mac/tips/idisk/ for a how-to on doing this with FreeBSD.)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Common Tasks]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Common Tasks]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:1965:newid:2970 --&gt;
&lt;/table&gt;</summary>
		<author><name>Dave</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=1965&amp;oldid=prev</id>
		<title>213.47.96.87: Typo</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=1965&amp;oldid=prev"/>
				<updated>2005-03-27T14:50:17Z</updated>
		
		<summary type="html">&lt;p&gt;Typo&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:50, 27 March 2005&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The DAVLockDB attribute tells Apache where to put the lock file for WebDAV functionality, which is how it keeps track of which users have writes pending to which DAV-enabled files and directories.&amp;#160; In this case, we've placed it in /tmp, which is generally a perfectly reasonable place to do so.&amp;#160; DAVLockDB and DAVMinTimeout are generally system-wide attributes, and only need to be specified once for the entire server&amp;#160; - although if you place them within a &amp;amp;lt;Location&amp;gt;, they can override the system-wide settings, if for some reason you did want to specify separate lock files and/or timeout values for that one particular &amp;amp;lt;Location&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The DAVLockDB attribute tells Apache where to put the lock file for WebDAV functionality, which is how it keeps track of which users have writes pending to which DAV-enabled files and directories.&amp;#160; In this case, we've placed it in /tmp, which is generally a perfectly reasonable place to do so.&amp;#160; DAVLockDB and DAVMinTimeout are generally system-wide attributes, and only need to be specified once for the entire server&amp;#160; - although if you place them within a &amp;amp;lt;Location&amp;gt;, they can override the system-wide settings, if for some reason you did want to specify separate lock files and/or timeout values for that one particular &amp;amp;lt;Location&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The &amp;amp;lt;Location&amp;gt; we've defined in the above example should be fairly self-explanatory - it allows DAV functionality within the web directory /WebDAV/, and requires a valid user from the password file at /usr/local/www/.DAVlogin in order to allow any DAV or &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;HTML &lt;/del&gt;PUT operations.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The &amp;amp;lt;Location&amp;gt; we've defined in the above example should be fairly self-explanatory - it allows DAV functionality within the web directory /WebDAV/, and requires a valid user from the password file at /usr/local/www/.DAVlogin in order to allow any DAV or &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;HTTP &lt;/ins&gt;PUT operations.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now that we've defined everything in httpd.conf, we just need to create the directory we want to use, make sure the permissions and ownership are set properly, create our user auth file, and restart Apache.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Now that we've defined everything in httpd.conf, we just need to create the directory we want to use, make sure the permissions and ownership are set properly, create our user auth file, and restart Apache.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:1936:newid:1965 --&gt;
&lt;/table&gt;</summary>
		<author><name>213.47.96.87</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=1936&amp;oldid=prev</id>
		<title>Jimbo at 02:59, 18 October 2004</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=1936&amp;oldid=prev"/>
				<updated>2004-10-18T02:59:31Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:59, 18 October 2004&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Adding password for user dav-user&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; Adding password for user dav-user&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ph34r# '''apachectl restart'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ph34r# '''apachectl restart'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; ph34r# &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;And there we have it; we&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'ve &lt;/del&gt;now &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;got &lt;/del&gt;WebDAV running, turned on at /WebDAV/, with everything we need to allow a user named dav-user with whatever password we specified to read and write inside that directory via DAV functionality.&amp;#160; One of the more common current uses for this is to enable calendar sharing using iCal, Sunbird, or Mozilla Calendar.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;And there we have it; we now &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;have &lt;/ins&gt;WebDAV running, turned on at /WebDAV/, with everything we need to allow a user named dav-user with whatever password we specified to read and write inside that directory via DAV functionality.&amp;#160; One of the more common current uses for this is to enable calendar sharing using iCal, Sunbird, or Mozilla Calendar.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Common Tasks]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Common Tasks]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:564:newid:1936 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jimbo</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=564&amp;oldid=prev</id>
		<title>24.168.196.176 at 02:58, 18 October 2004</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=564&amp;oldid=prev"/>
				<updated>2004-10-18T02:58:12Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:58, 18 October 2004&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ### WebDAV settings&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ### WebDAV settings&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; DAVLockDB /tmp/DAVLock&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; DAVLockDB /tmp/DAVLock&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; DAVMinTimeout 600&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; DAVMinTimeout 600&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;Location /WebDAV/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &amp;lt;Location /WebDAV/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  DAV On&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160;  DAV On&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bsdwiki:diff:version:1.11a:oldid:563:newid:564 --&gt;
&lt;/table&gt;</summary>
		<author><name>24.168.196.176</name></author>	</entry>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=563&amp;oldid=prev</id>
		<title>24.168.196.176 at 02:57, 18 October 2004</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=WebDAV_on_Apache_2.x&amp;diff=563&amp;oldid=prev"/>
				<updated>2004-10-18T02:57:37Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Apache 2.x, as installed from the ports tree, has modules installed already to allow WebDAV functionality - all you have to do is un-comment the proper lines in the LoadModules section of your httpd.conf, and then add some lines later on in it for basic configuration of the WebDAV location(s).&lt;br /&gt;
&lt;br /&gt;
First of all, make sure the following lines are present '''and uncommented''' in '''/usr/local/etc/apache2/httpd.conf''':&lt;br /&gt;
&lt;br /&gt;
 LoadModule dav_module libexec/apache2/mod_dav.so&lt;br /&gt;
 LoadModule dav_fs_module libexec/apache2/mod_dav_fs.so&lt;br /&gt;
&lt;br /&gt;
Now skip to the end of httpd.conf (actually you can put these lines anywhere, but for our purposes we're going to tack all the WebDAV configs onto the end in one block so we can easily find them later) and put in the following:&lt;br /&gt;
&lt;br /&gt;
 ### WebDAV settings&lt;br /&gt;
&lt;br /&gt;
 DAVLockDB /tmp/DAVLock&lt;br /&gt;
 DAVMinTimeout 600&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Location /WebDAV/&amp;gt;&lt;br /&gt;
     DAV On&lt;br /&gt;
     AuthType Basic&lt;br /&gt;
     AuthName &amp;quot;WebDAV Restricted&amp;quot;&lt;br /&gt;
     AuthUserFile /usr/local/www/.DAVlogin&lt;br /&gt;
     &amp;lt;LimitExcept GET HEAD OPTIONS&amp;gt;&lt;br /&gt;
         Require valid-user&lt;br /&gt;
     &amp;lt;/LimitExcept&amp;gt;&lt;br /&gt;
 &amp;lt;/Location&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAVLockDB attribute tells Apache where to put the lock file for WebDAV functionality, which is how it keeps track of which users have writes pending to which DAV-enabled files and directories.  In this case, we've placed it in /tmp, which is generally a perfectly reasonable place to do so.  DAVLockDB and DAVMinTimeout are generally system-wide attributes, and only need to be specified once for the entire server  - although if you place them within a &amp;amp;lt;Location&amp;gt;, they can override the system-wide settings, if for some reason you did want to specify separate lock files and/or timeout values for that one particular &amp;amp;lt;Location&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;amp;lt;Location&amp;gt; we've defined in the above example should be fairly self-explanatory - it allows DAV functionality within the web directory /WebDAV/, and requires a valid user from the password file at /usr/local/www/.DAVlogin in order to allow any DAV or HTML PUT operations.&lt;br /&gt;
&lt;br /&gt;
Now that we've defined everything in httpd.conf, we just need to create the directory we want to use, make sure the permissions and ownership are set properly, create our user auth file, and restart Apache.&lt;br /&gt;
&lt;br /&gt;
 ph34r# '''mkdir /usr/local/www/data/WebDAV'''&lt;br /&gt;
 ph34r# '''chown www /usr/local/www/data/WebDAV'''&lt;br /&gt;
 ph34r# '''chgrp www /usr/local/www/data/WebDAV'''&lt;br /&gt;
 ph34r# '''chmod 775 /usr/local/www/data/WebDAV'''&lt;br /&gt;
 ph34r# '''htpasswd -c /usr/local/www/.DAVlogin dav-user'''&lt;br /&gt;
 password: &lt;br /&gt;
 Re-type new password:&lt;br /&gt;
 Adding password for user dav-user&lt;br /&gt;
 ph34r# '''apachectl restart'''&lt;br /&gt;
 ph34r# &lt;br /&gt;
&lt;br /&gt;
And there we have it; we've now got WebDAV running, turned on at /WebDAV/, with everything we need to allow a user named dav-user with whatever password we specified to read and write inside that directory via DAV functionality.  One of the more common current uses for this is to enable calendar sharing using iCal, Sunbird, or Mozilla Calendar.&lt;br /&gt;
&lt;br /&gt;
[[Category:Common Tasks]]&lt;/div&gt;</summary>
		<author><name>24.168.196.176</name></author>	</entry>

	</feed>